3 gl_FragCoord origin is upper left
5 0:11 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
6 0:11 Function Parameters:
9 0:12 move second child to first child ( temp float)
10 0:12 'r00' ( temp float)
11 0:12 imageLoad ( temp float)
12 0:12 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D)
16 0:13 move second child to first child ( temp uint)
17 0:13 'r01' ( temp uint)
18 0:13 imageLoad ( temp uint)
19 0:13 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer)
22 0:16 move second child to first child ( temp 4-component vector of float)
23 0:16 Color: direct index for structure ( temp 4-component vector of float)
24 0:16 'psout' ( temp structure{ temp 4-component vector of float Color})
32 0:17 Branch: Return with expression
33 0:17 'psout' ( temp structure{ temp 4-component vector of float Color})
34 0:11 Function Definition: main( ( temp void)
35 0:11 Function Parameters:
38 0:11 move second child to first child ( temp 4-component vector of float)
39 0:? 'Color' (layout( location=0) out 4-component vector of float)
40 0:11 Color: direct index for structure ( temp 4-component vector of float)
41 0:11 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
45 0:? 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D)
46 0:? 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer)
47 0:? 'Color' (layout( location=0) out 4-component vector of float)
50 Linked fragment stage:
54 gl_FragCoord origin is upper left
56 0:11 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
57 0:11 Function Parameters:
60 0:12 move second child to first child ( temp float)
61 0:12 'r00' ( temp float)
62 0:12 imageLoad ( temp float)
63 0:12 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D)
67 0:13 move second child to first child ( temp uint)
68 0:13 'r01' ( temp uint)
69 0:13 imageLoad ( temp uint)
70 0:13 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer)
73 0:16 move second child to first child ( temp 4-component vector of float)
74 0:16 Color: direct index for structure ( temp 4-component vector of float)
75 0:16 'psout' ( temp structure{ temp 4-component vector of float Color})
83 0:17 Branch: Return with expression
84 0:17 'psout' ( temp structure{ temp 4-component vector of float Color})
85 0:11 Function Definition: main( ( temp void)
86 0:11 Function Parameters:
89 0:11 move second child to first child ( temp 4-component vector of float)
90 0:? 'Color' (layout( location=0) out 4-component vector of float)
91 0:11 Color: direct index for structure ( temp 4-component vector of float)
92 0:11 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
96 0:? 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D)
97 0:? 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer)
98 0:? 'Color' (layout( location=0) out 4-component vector of float)
100 // Module Version 10000
101 // Generated by (magic number): 80001
102 // Id's are bound by 42
106 Capability SampledBuffer
107 1: ExtInstImport "GLSL.std.450"
108 MemoryModel Logical GLSL450
109 EntryPoint Fragment 4 "main" 39
110 ExecutionMode 4 OriginUpperLeft
113 MemberName 8(PS_OUTPUT) 0 "Color"
121 Decorate 16(g_tTex1df1) DescriptorSet 0
122 Decorate 16(g_tTex1df1) Binding 2
123 Decorate 26(g_tBuf1du1) DescriptorSet 0
124 Decorate 26(g_tBuf1du1) Binding 3
125 Decorate 39(Color) Location 0
129 7: TypeVector 6(float) 4
130 8(PS_OUTPUT): TypeStruct 7(fvec4)
131 9: TypeFunction 8(PS_OUTPUT)
132 12: TypePointer Function 6(float)
133 14: TypeImage 6(float) 1D nonsampled format:R32f
134 15: TypePointer UniformConstant 14
135 16(g_tTex1df1): 15(ptr) Variable UniformConstant
137 19: 18(int) Constant 0
139 22: TypePointer Function 21(int)
140 24: TypeImage 21(int) Buffer nonsampled format:R32ui
141 25: TypePointer UniformConstant 24
142 26(g_tBuf1du1): 25(ptr) Variable UniformConstant
143 29: TypePointer Function 8(PS_OUTPUT)
144 31: 6(float) Constant 1065353216
145 32: 7(fvec4) ConstantComposite 31 31 31 31
146 33: TypePointer Function 7(fvec4)
147 38: TypePointer Output 7(fvec4)
148 39(Color): 38(ptr) Variable Output
149 4(main): 2 Function None 3
151 40:8(PS_OUTPUT) FunctionCall 10(@main()
152 41: 7(fvec4) CompositeExtract 40 0
156 10(@main():8(PS_OUTPUT) Function None 9
158 13(r00): 12(ptr) Variable Function
159 23(r01): 22(ptr) Variable Function
160 30(psout): 29(ptr) Variable Function
161 17: 14 Load 16(g_tTex1df1)
162 20: 6(float) ImageRead 17 19
164 27: 24 Load 26(g_tBuf1du1)
165 28: 21(int) ImageRead 27 19
167 34: 33(ptr) AccessChain 30(psout) 19
169 35:8(PS_OUTPUT) Load 30(psout)