Home
last modified time | relevance | path

Searched refs:gl_LocalInvocationID (Results 1 – 25 of 128) sorted by relevance

123456

/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/comp/
Dshared-array-of-arrays.comp16 void work(threadgroup float (&foo)[4][4], thread uint3& gl_LocalInvocationID, thread uint& gl_Local…
18 foo[gl_LocalInvocationID.x][gl_LocalInvocationID.y] = float(gl_LocalInvocationIndex);
21 x += foo[gl_LocalInvocationID.x][0];
22 x += foo[gl_LocalInvocationID.x][1];
23 x += foo[gl_LocalInvocationID.x][2];
24 x += foo[gl_LocalInvocationID.x][3];
28 kernel void main0(device SSBO& v_67 [[buffer(0)]], uint3 gl_LocalInvocationID [[thread_position_in_…
31 work(foo, gl_LocalInvocationID, gl_LocalInvocationIndex, v_67, gl_GlobalInvocationID);
Dlocal-invocation-id.comp21 kernel void main0(device myBlock& myStorage [[buffer(0)]], uint3 gl_LocalInvocationID [[thread_posi…
24 …myStorage.b[gl_LocalInvocationID.x] = mod(myStorage.b[gl_LocalInvocationID.x] + 0.0199999995529651…
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/comp/
Dshared-array-of-arrays.comp13 kernel void main0(device SSBO& _67 [[buffer(0)]], uint3 gl_LocalInvocationID [[thread_position_in_t…
16 foo[gl_LocalInvocationID.x][gl_LocalInvocationID.y] = float(gl_LocalInvocationIndex);
18 …onID.x] = ((foo[gl_LocalInvocationID.x][0] + foo[gl_LocalInvocationID.x][1]) + foo[gl_LocalInvocat…
Dcomposite-array-initialization.comp69 …)]], uint3 gl_WorkGroupID [[threadgroup_position_in_grid]], uint3 gl_LocalInvocationID [[thread_po…
76 … _53.outdata[gl_WorkGroupID.x].a = _25[gl_LocalInvocationID.x].a + data2[gl_LocalInvocationID.x].a;
77 … _53.outdata[gl_WorkGroupID.x].b = _25[gl_LocalInvocationID.x].b + data2[gl_LocalInvocationID.x].b;
Dlocal-invocation-id.comp21 kernel void main0(device myBlock& myStorage [[buffer(0)]], uint3 gl_LocalInvocationID [[thread_posi…
24 …myStorage.b[gl_LocalInvocationID.x] = mod(myStorage.b[gl_LocalInvocationID.x] + 0.0199999995529651…
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/comp/
Dcomposite-array-initialization.comp22 static uint3 gl_LocalInvocationID;
27 uint3 gl_LocalInvocationID : SV_GroupThreadID;
38 …_61.Store(gl_WorkGroupID.x * 8 + 0, asuint(_25[gl_LocalInvocationID.x].a + data2[gl_LocalInvocatio…
39 …_61.Store(gl_WorkGroupID.x * 8 + 4, asuint(_25[gl_LocalInvocationID.x].b + data2[gl_LocalInvocatio…
47 gl_LocalInvocationID = stage_input.gl_LocalInvocationID;
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/comp/
Dshared-array-of-arrays.comp13 foo[gl_LocalInvocationID.x][gl_LocalInvocationID.y] = float(gl_LocalInvocationIndex);
18 x += foo[gl_LocalInvocationID.x][0];
19 x += foo[gl_LocalInvocationID.x][1];
20 x += foo[gl_LocalInvocationID.x][2];
21 x += foo[gl_LocalInvocationID.x][3];
/third_party/mesa3d/src/compiler/glsl/
Dlower_cs_derived.cpp60 gl_LocalInvocationID(NULL), in lower_cs_derived_visitor()
85 ir_variable *gl_LocalInvocationID; member in __anon50fd4ec10111::lower_cs_derived_visitor
122 gl_LocalInvocationID = shader->symbols->get_variable("gl_LocalInvocationID"); in find_sysvals()
133 if (!gl_LocalInvocationID) in find_sysvals()
134 gl_LocalInvocationID = add_system_value( in find_sysvals()
171 gl_LocalInvocationID)); in make_gl_GlobalInvocationID()
193 mul(mul(swizzle_z(gl_LocalInvocationID), swizzle_x(gl_WorkGroupSize->clone(shader, NULL))), in make_gl_LocalInvocationIndex()
196 mul(swizzle_y(gl_LocalInvocationID), swizzle_x(gl_WorkGroupSize->clone(shader, NULL))); in make_gl_LocalInvocationIndex()
198 operand index_x(swizzle_x(gl_LocalInvocationID)); in make_gl_LocalInvocationIndex()
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/comp/
Dbuiltins.comp4 static uint3 gl_LocalInvocationID;
10 uint3 gl_LocalInvocationID : SV_GroupThreadID;
17 uint3 local_id = gl_LocalInvocationID;
28 gl_LocalInvocationID = stage_input.gl_LocalInvocationID;
Dcomposite-array-initialization.comp22 static uint3 gl_LocalInvocationID;
27 uint3 gl_LocalInvocationID : SV_GroupThreadID;
48 Data param = data[gl_LocalInvocationID.x];
49 Data param_1 = data2[gl_LocalInvocationID.x];
60 gl_LocalInvocationID = stage_input.gl_LocalInvocationID;
/third_party/skia/third_party/externals/tint/test/unittest/reader/spirv/
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_3.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationID
11 OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
20 %gl_LocalInvocationID = OpVariable %_ptr_Input_v3int Input
23 %2 = OpLoad %v3int %gl_LocalInvocationID
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_2.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationID
11 OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
20 %gl_LocalInvocationID = OpVariable %_ptr_Input_v3uint Input
23 %2 = OpLoad %v3uint %gl_LocalInvocationID
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_3.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationID
11 OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
20 %gl_LocalInvocationID = OpVariable %_ptr_Input_v3int Input
23 %13 = OpAccessChain %_ptr_Input_v3int %gl_LocalInvocationID
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_2.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationID
11 OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
20 %gl_LocalInvocationID = OpVariable %_ptr_Input_v3uint Input
23 %13 = OpCopyObject %_ptr_Input_v3uint %gl_LocalInvocationID
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_2.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationID
11 OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
20 %gl_LocalInvocationID = OpVariable %_ptr_Input_v3uint Input
23 %13 = OpAccessChain %_ptr_Input_v3uint %gl_LocalInvocationID
DSamples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_3.spvasm9 OpEntryPoint GLCompute %3 "main" %gl_LocalInvocationID
11 OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
20 %gl_LocalInvocationID = OpVariable %_ptr_Input_v3int Input
23 %13 = OpCopyObject %_ptr_Input_v3int %gl_LocalInvocationID
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders/comp/
Dcomposite-array-initialization.comp24 … _53.outdata[gl_WorkGroupID.x].a = _25[gl_LocalInvocationID.x].a + data2[gl_LocalInvocationID.x].a;
25 … _53.outdata[gl_WorkGroupID.x].b = _25[gl_LocalInvocationID.x].b + data2[gl_LocalInvocationID.x].b;
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/asm/comp/
Dvector-builtin-type-cast-func.asm.comp16 …get_texcoord(thread const int2& base, thread const int2& index, thread uint3& gl_LocalInvocationID)
18 return (base * int3(gl_LocalInvocationID).xy) + index;
21 …er(0)]], texture2d<float, access::write> u0 [[texture(0)]], uint3 gl_LocalInvocationID [[thread_po…
30 …._RESERVED_IDENTIFIER_FIXUP_m0[0].xxxx, uint2(get_texcoord(param, param_1, gl_LocalInvocationID)));
Dvariable-pointers-2.asm.comp27 thread uint3* select_input(thread uint3& gl_GlobalInvocationID, thread uint3& gl_LocalInvocationID,…
29 return (cb.d != 0) ? &gl_GlobalInvocationID : &gl_LocalInvocationID;
32 …], uint3 gl_GlobalInvocationID [[thread_position_in_grid]], uint3 gl_LocalInvocationID [[thread_po…
36 thread uint3* _47 = select_input(gl_GlobalInvocationID, gl_LocalInvocationID, cb);
Dbuffer-write-relative-addr.asm.comp20 …fer(0)]], texture2d<uint, access::write> u0 [[texture(0)]], uint3 gl_LocalInvocationID [[thread_po…
23 r0.x = as_type<float>(int(gl_LocalInvocationID.x) << 4);
24 r0.y = as_type<float>(int(gl_LocalInvocationID.x));
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/asm/comp/
Drelaxed-block-layout.asm.comp13 …OpEntryPoint GLCompute %main "main" %gl_LocalInvocationID %gl_GlobalInvocationID %gl_WorkGroupID %…
26 OpName %gl_LocalInvocationID "gl_LocalInvocationID"
38 OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
58 %gl_LocalInvocationID = OpVariable %_ptr_Input_v3uint Input
76 %23 = OpAccessChain %_ptr_Input_uint %gl_LocalInvocationID %uint_0
Dvector-builtin-type-cast.asm.comp11 OpEntryPoint GLCompute %main "main" %gl_LocalInvocationID
19 OpName %gl_LocalInvocationID "gl_LocalInvocationID"
26 OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
52 %gl_LocalInvocationID = OpVariable %_ptr_Input_v3int Input
102 %54 = OpLoad %v3int %gl_LocalInvocationID
Dvector-builtin-type-cast-func.asm.comp11 OpEntryPoint GLCompute %main "main" %gl_LocalInvocationID
18 OpName %gl_LocalInvocationID "gl_LocalInvocationID"
28 OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
46 %gl_LocalInvocationID = OpVariable %_ptr_Input_v3int Input
141 %20 = OpLoad %v3int %gl_LocalInvocationID
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/barrier-in-loop-with-break/
D0-opt.spvasm4 OpEntryPoint GLCompute %main "main" %gl_LocalInvocationID
9 OpName %gl_LocalInvocationID "gl_LocalInvocationID"
19 OpDecorate %gl_LocalInvocationID BuiltIn LocalInvocationId
38 %gl_LocalInvocationID = OpVariable %_ptr_Input_v3uint Input
68 %39 = OpAccessChain %_ptr_Input_uint %gl_LocalInvocationID %uint_0
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/asm/comp/
Dbuffer-write-relative-addr.asm.comp20 …fer(0)]], texture2d<uint, access::write> u0 [[texture(0)]], uint3 gl_LocalInvocationID [[thread_po…
22 uint _44 = as_type<uint>(as_type<float>(int(gl_LocalInvocationID.x) << 4)) >> 2u;
23 …uint4 _51 = as_type<uint4>(cb0_5._m0[uint(as_type<int>(as_type<float>(int(gl_LocalInvocationID.x))…

123456