Debian Codegraph @

third_party/spirv-cross/reference/shaders-no-opt/frag/pixel-interlock-simple-callstack.frag

raw
1 #version 450
2 #extension GL_ARB_fragment_shader_interlock : require
3 layout(pixel_interlock_ordered) in;
4
5 layout(binding = 1, std430) buffer SSBO1
6 {
7 uint values1[];
8 } _14;
9
10 layout(binding = 0, std430) buffer SSBO0
11 {
12 uint values0[];
13 } _35;
14
15 void callee2()
16 {
17 int _25 = int(gl_FragCoord.x);
18 _14.values1[_25]++;
19 }
20
21 void callee()
22 {
23 int _38 = int(gl_FragCoord.x);
24 _35.values0[_38]++;
25 callee2();
26 }
27
28 void main()
29 {
30 beginInvocationInterlockARB();
31 callee();
32 endInvocationInterlockARB();
33 }
34