wgpu/tests/out/hlsl/globals.hlsl

13 lines
159 B
HLSL
Raw Normal View History

static const bool Foo = true;
groupshared float wg[10];
2021-08-14 02:47:44 +00:00
groupshared uint at;
[numthreads(1, 1, 1)]
void main()
{
wg[3] = 1.0;
2021-08-14 02:47:44 +00:00
at = 2u;
return;
}