xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/hlsl.groupid.comp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1RWTexture2D < float4 > OutputTexture;
2
3// Test conversion between SPIR-V required uint3 group id, and sub-vec3 shader declaration.
4
5[ numthreads ( 8 , 8 , 1 ) ]
6void main ( uint2 vGroupId : SV_GroupID )
7{
8    OutputTexture[ vGroupId . xy ] = float4(1.0, 0.0, 0.0, 1.0);
9}
10