Debian Codegraph @

third_party/spirv-cross/reference/shaders-hlsl-no-opt/asm/frag/pixel-interlock-split-functions.sm51.fxconly.asm.frag

raw
1 RasterizerOrderedByteAddressBuffer _7 : register(u1, space0);
2 RasterizerOrderedByteAddressBuffer _9 : register(u0, space0);
3
4 static float4 gl_FragCoord;
5 struct SPIRV_Cross_Input
6 {
7 float4 gl_FragCoord : SV_Position;
8 };
9
10 void callee2()
11 {
12 int _37 = int(gl_FragCoord.x);
13 _7.Store(_37 * 4 + 0, _7.Load(_37 * 4 + 0) + 1u);
14 }
15
16 void callee()
17 {
18 int _45 = int(gl_FragCoord.x);
19 _9.Store(_45 * 4 + 0, _9.Load(_45 * 4 + 0) + 1u);
20 callee2();
21 }
22
23 void _29()
24 {
25 }
26
27 void _31()
28 {
29 }
30
31 void frag_main()
32 {
33 callee();
34 _29();
35 _31();
36 }
37
38 void main(SPIRV_Cross_Input stage_input)
39 {
40 gl_FragCoord = stage_input.gl_FragCoord;
41 gl_FragCoord.w = 1.0 / gl_FragCoord.w;
42 frag_main();
43 }