Home
last modified time | relevance | path

Searched refs:gl_LocalInvocationIndex (Results 1 – 25 of 123) sorted by relevance

12345

/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/entrypoint/
Dcomp_workgroup_entry_point.amber19 ; atomicExchange(wg_data[gl_LocalInvocationIndex], gl_LocalInvocationIndex);
21 ; uint val = atomicExchange(wg_data[(gl_LocalInvocationIndex+1)%4], 0);
22 ; x[gl_LocalInvocationIndex] = val;
27 OpEntryPoint GLCompute %main "main" %wg_data %gl_LocalInvocationIndex %_
32 OpName %gl_LocalInvocationIndex "gl_LocalInvocationIndex"
37 OpDecorate %gl_LocalInvocationIndex BuiltIn LocalInvocationIndex
52 %gl_LocalInvocationIndex = OpVariable %_ptr_Input_uint Input
71 %13 = OpLoad %uint %gl_LocalInvocationIndex
73 %16 = OpLoad %uint %gl_LocalInvocationIndex
76 %22 = OpLoad %uint %gl_LocalInvocationIndex
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/comp/
Dshared.comp7 static uint gl_LocalInvocationIndex;
11 uint gl_LocalInvocationIndex : SV_GroupIndex;
18 sShared[gl_LocalInvocationIndex] = asfloat(_22.Load(gl_GlobalInvocationID.x * 4 + 0));
20 _44.Store(gl_GlobalInvocationID.x * 4 + 0, asuint(sShared[3u - gl_LocalInvocationIndex]));
27 gl_LocalInvocationIndex = stage_input.gl_LocalInvocationIndex;
Dcomposite-array-initialization.comp23 static uint gl_LocalInvocationIndex;
28 uint gl_LocalInvocationIndex : SV_GroupIndex;
36 if (gl_LocalInvocationIndex == 0u)
48 gl_LocalInvocationIndex = stage_input.gl_LocalInvocationIndex;
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/comp/
Dshared.comp7 static uint gl_LocalInvocationIndex;
11 uint gl_LocalInvocationIndex : SV_GroupIndex;
20 sShared[gl_LocalInvocationIndex] = idata;
22 _44.Store(ident * 4 + 0, asuint(sShared[(4u - gl_LocalInvocationIndex) - 1u]));
29 gl_LocalInvocationIndex = stage_input.gl_LocalInvocationIndex;
Dbuiltins.comp6 static uint gl_LocalInvocationIndex;
12 uint gl_LocalInvocationIndex : SV_GroupIndex;
19 uint local_index = gl_LocalInvocationIndex;
30 gl_LocalInvocationIndex = stage_input.gl_LocalInvocationIndex;
Dcomposite-array-initialization.comp23 static uint gl_LocalInvocationIndex;
28 uint gl_LocalInvocationIndex : SV_GroupIndex;
46 if (gl_LocalInvocationIndex == 0u)
61 gl_LocalInvocationIndex = stage_input.gl_LocalInvocationIndex;
/third_party/skia/third_party/externals/spirv-cross/shaders-msl-no-opt/comp/
Darray-copy-threadgroup-memory.comp12 shared_group[gl_LocalInvocationIndex] = blob;
16 float copied_blob[8] = shared_group[gl_LocalInvocationIndex ^ 1u];
17 shared_group_alt[gl_LocalInvocationIndex] = shared_group[gl_LocalInvocationIndex];
/third_party/mesa3d/src/compiler/glsl/
Dlower_cs_derived.cpp62 gl_LocalInvocationIndex(NULL) in lower_cs_derived_visitor()
88 ir_variable *gl_LocalInvocationIndex; member in __anon50fd4ec10111::lower_cs_derived_visitor
178 if (gl_LocalInvocationIndex != NULL) in make_gl_LocalInvocationIndex()
188 gl_LocalInvocationIndex = new(shader) in make_gl_LocalInvocationIndex()
190 shader->ir->push_head(gl_LocalInvocationIndex); in make_gl_LocalInvocationIndex()
201 assign(gl_LocalInvocationIndex, index_x_plus_y_plus_z); in make_gl_LocalInvocationIndex()
218 ir->var = gl_LocalInvocationIndex; in visit()
/third_party/skia/third_party/externals/tint/test/unittest/reader/spirv/
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_0.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationIndex
11 OpDecorate %gl_LocalInvocationIndex BuiltIn LocalInvocationIndex
20 %gl_LocalInvocationIndex = OpVariable %_ptr_Input_uint Input
23 %2 = OpLoad %uint %gl_LocalInvocationIndex
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_1.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationIndex
11 OpDecorate %gl_LocalInvocationIndex BuiltIn LocalInvocationIndex
20 %gl_LocalInvocationIndex = OpVariable %_ptr_Input_int Input
23 %2 = OpLoad %int %gl_LocalInvocationIndex
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_0.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationIndex
11 OpDecorate %gl_LocalInvocationIndex BuiltIn LocalInvocationIndex
20 %gl_LocalInvocationIndex = OpVariable %_ptr_Input_uint Input
23 %13 = OpAccessChain %_ptr_Input_uint %gl_LocalInvocationIndex
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_1.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationIndex
11 OpDecorate %gl_LocalInvocationIndex BuiltIn LocalInvocationIndex
20 %gl_LocalInvocationIndex = OpVariable %_ptr_Input_int Input
23 %13 = OpCopyObject %_ptr_Input_int %gl_LocalInvocationIndex
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_1.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationIndex
11 OpDecorate %gl_LocalInvocationIndex BuiltIn LocalInvocationIndex
20 %gl_LocalInvocationIndex = OpVariable %_ptr_Input_int Input
23 %13 = OpAccessChain %_ptr_Input_int %gl_LocalInvocationIndex
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_0.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationIndex
11 OpDecorate %gl_LocalInvocationIndex BuiltIn LocalInvocationIndex
20 %gl_LocalInvocationIndex = OpVariable %_ptr_Input_uint Input
23 %13 = OpCopyObject %_ptr_Input_uint %gl_LocalInvocationIndex
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/comp/
Dshared-array-of-arrays.comp16 …t (&foo)[4][4], thread uint3& gl_LocalInvocationID, thread uint& gl_LocalInvocationIndex, device S…
18 foo[gl_LocalInvocationID.x][gl_LocalInvocationID.y] = float(gl_LocalInvocationIndex);
28 …t3 gl_LocalInvocationID [[thread_position_in_threadgroup]], uint gl_LocalInvocationIndex [[thread_…
31 work(foo, gl_LocalInvocationID, gl_LocalInvocationIndex, v_67, gl_GlobalInvocationID);
Dshared.comp18 …], uint3 gl_GlobalInvocationID [[thread_position_in_grid]], uint gl_LocalInvocationIndex [[thread_…
23 sShared[gl_LocalInvocationIndex] = idata;
25 _44.out_data[ident] = sShared[(4u - gl_LocalInvocationIndex) - 1u];
Dlocal-invocation-index.comp21 kernel void main0(device myBlock& myStorage [[buffer(0)]], uint gl_LocalInvocationIndex [[thread_in…
24 …myStorage.b[gl_LocalInvocationIndex] = mod(myStorage.b[gl_LocalInvocationIndex] + 0.01999999955296…
Dcomplex-type-alias.comp53 kernel void main0(device SSBO& _53 [[buffer(0)]], uint gl_LocalInvocationIndex [[thread_index_in_th…
61 coeffs[gl_LocalInvocationIndex] = data;
63 if (gl_LocalInvocationIndex == 0u)
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/comp/
Dshared.comp18 …], uint3 gl_GlobalInvocationID [[thread_position_in_grid]], uint gl_LocalInvocationIndex [[thread_…
21 sShared[gl_LocalInvocationIndex] = _22.in_data[gl_GlobalInvocationID.x];
23 _44.out_data[gl_GlobalInvocationID.x] = sShared[3u - gl_LocalInvocationIndex];
Dlocal-invocation-index.comp21 kernel void main0(device myBlock& myStorage [[buffer(0)]], uint gl_LocalInvocationIndex [[thread_in…
24 …myStorage.b[gl_LocalInvocationIndex] = mod(myStorage.b[gl_LocalInvocationIndex] + 0.01999999955296…
Dcomplex-type-alias.comp45 kernel void main0(device SSBO& _53 [[buffer(0)]], uint gl_LocalInvocationIndex [[thread_index_in_th…
48 coeffs[gl_LocalInvocationIndex] = Foo2{ Foo1{ Foo0{ 0.0 } }, 0.0 };
50 if (gl_LocalInvocationIndex == 0u)
/third_party/skia/third_party/externals/spirv-cross/shaders-no-opt/asm/comp/
Dray-query-function-object.spv14.asm.vk.nocompat.comp7 OpEntryPoint GLCompute %main "main" %RTAS %gl_LocalInvocationIndex
14 OpDecorate %gl_LocalInvocationIndex BuiltIn LocalInvocationIndex
30 %gl_LocalInvocationIndex = OpVariable %_ptr_Input_uint Input
/third_party/glslang/Test/baseResults/
Dweb.comp.out9 …NumWorkGroups %gl_WorkGroupID %gl_LocalInvocationID %gl_GlobalInvocationID %gl_LocalInvocationIndex
26 OpName %gl_LocalInvocationIndex "gl_LocalInvocationIndex"
41 OpDecorate %gl_LocalInvocationIndex BuiltIn LocalInvocationIndex
93 %gl_LocalInvocationIndex = OpVariable %_ptr_Input_uint Input
134 %84 = OpLoad %uint %gl_LocalInvocationIndex
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/rasterization/line_continuity/
Dpolygon-mode-lines.amber76 if (gl_LocalInvocationIndex == 0)
99 if (gl_LocalInvocationIndex == 0 && stack[0] != ivec2(-1))
109 if (gl_LocalInvocationIndex == 0 && stackPtr != 0)
129 if (gl_LocalInvocationIndex == 0 && stackPtr < 1)
Dline-strip.amber74 if (gl_LocalInvocationIndex == 0)
97 if (gl_LocalInvocationIndex == 0 && stack[0] != ivec2(-1))
107 if (gl_LocalInvocationIndex == 0 && stackPtr != 0)
127 if (gl_LocalInvocationIndex == 0 && stackPtr < 1)

12345