Debian Codegraph @

third_party/spirv-cross/reference/shaders-no-opt/asm/comp/access-tracking-function-call-result.asm.comp

raw
1 #version 460
2 layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
3
4 layout(binding = 0, std430) buffer Output
5 {
6 int myout;
7 } _5;
8
9 int foo()
10 {
11 return 12;
12 }
13
14 void main()
15 {
16 int _17 = foo();
17 while (true)
18 {
19 _5.myout = _17;
20 return;
21 }
22 _5.myout = _17;
23 }
24