Debian Codegraph @

third_party/spirv-cross/reference/shaders-hlsl-no-opt/comp/illegal-struct-name.asm.comp

raw
1 struct Foo
2 {
3 float _abs;
4 };
5
6 RWByteAddressBuffer _7 : register(u0);
7
8 void comp_main()
9 {
10 Foo _24;
11 _24._abs = asfloat(_7.Load(0));
12 Foo f;
13 f._abs = _24._abs;
14 int _abs = 10;
15 _7.Store(4, asuint(f._abs));
16 }
17
18 [numthreads(1, 1, 1)]
19 void main()
20 {
21 comp_main();
22 }