1 hlsl.load.rwbuffer.dx10.frag
3 gl_FragCoord origin is upper left
5 0:22 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
6 0:22 Function Parameters:
8 0:25 imageLoad ( temp 4-component vector of float)
9 0:25 'g_tBuffF' (layout( rgba32f) uniform imageBuffer)
10 0:25 c1: direct index for structure ( uniform int)
11 0:25 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
14 0:26 imageLoad ( temp 4-component vector of uint)
15 0:26 'g_tBuffU' (layout( rgba32ui) uniform uimageBuffer)
16 0:26 c1: direct index for structure ( uniform int)
17 0:26 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
20 0:27 imageLoad ( temp 4-component vector of int)
21 0:27 'g_tBuffI' (layout( rgba32i) uniform iimageBuffer)
22 0:27 c1: direct index for structure ( uniform int)
23 0:27 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
26 0:29 move second child to first child ( temp 4-component vector of float)
27 0:29 Color: direct index for structure ( temp 4-component vector of float)
28 0:29 'psout' ( temp structure{ temp 4-component vector of float Color})
36 0:31 Branch: Return with expression
37 0:31 'psout' ( temp structure{ temp 4-component vector of float Color})
38 0:22 Function Definition: main( ( temp void)
39 0:22 Function Parameters:
42 0:22 move second child to first child ( temp 4-component vector of float)
43 0:? 'Color' (layout( location=0) out 4-component vector of float)
44 0:22 Color: direct index for structure ( temp 4-component vector of float)
45 0:22 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
49 0:? 'g_tBuffF' (layout( rgba32f) uniform imageBuffer)
50 0:? 'g_tBuffI' (layout( rgba32i) uniform iimageBuffer)
51 0:? 'g_tBuffU' (layout( rgba32ui) uniform uimageBuffer)
52 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
53 0:? 'Color' (layout( location=0) out 4-component vector of float)
56 Linked fragment stage:
60 gl_FragCoord origin is upper left
62 0:22 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
63 0:22 Function Parameters:
65 0:25 imageLoad ( temp 4-component vector of float)
66 0:25 'g_tBuffF' (layout( rgba32f) uniform imageBuffer)
67 0:25 c1: direct index for structure ( uniform int)
68 0:25 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
71 0:26 imageLoad ( temp 4-component vector of uint)
72 0:26 'g_tBuffU' (layout( rgba32ui) uniform uimageBuffer)
73 0:26 c1: direct index for structure ( uniform int)
74 0:26 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
77 0:27 imageLoad ( temp 4-component vector of int)
78 0:27 'g_tBuffI' (layout( rgba32i) uniform iimageBuffer)
79 0:27 c1: direct index for structure ( uniform int)
80 0:27 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
83 0:29 move second child to first child ( temp 4-component vector of float)
84 0:29 Color: direct index for structure ( temp 4-component vector of float)
85 0:29 'psout' ( temp structure{ temp 4-component vector of float Color})
93 0:31 Branch: Return with expression
94 0:31 'psout' ( temp structure{ temp 4-component vector of float Color})
95 0:22 Function Definition: main( ( temp void)
96 0:22 Function Parameters:
99 0:22 move second child to first child ( temp 4-component vector of float)
100 0:? 'Color' (layout( location=0) out 4-component vector of float)
101 0:22 Color: direct index for structure ( temp 4-component vector of float)
102 0:22 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
106 0:? 'g_tBuffF' (layout( rgba32f) uniform imageBuffer)
107 0:? 'g_tBuffI' (layout( rgba32i) uniform iimageBuffer)
108 0:? 'g_tBuffU' (layout( rgba32ui) uniform uimageBuffer)
109 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int c1, uniform 2-component vector of int c2, uniform 3-component vector of int c3, uniform 4-component vector of int c4, uniform int o1, uniform 2-component vector of int o2, uniform 3-component vector of int o3, uniform 4-component vector of int o4})
110 0:? 'Color' (layout( location=0) out 4-component vector of float)
112 // Module Version 10000
113 // Generated by (magic number): 80001
114 // Id's are bound by 57
117 Capability SampledBuffer
118 1: ExtInstImport "GLSL.std.450"
119 MemoryModel Logical GLSL450
120 EntryPoint Fragment 4 "main" 54
121 ExecutionMode 4 OriginUpperLeft
124 MemberName 8(PS_OUTPUT) 0 "Color"
128 MemberName 20($Global) 0 "c1"
129 MemberName 20($Global) 1 "c2"
130 MemberName 20($Global) 2 "c3"
131 MemberName 20($Global) 3 "c4"
132 MemberName 20($Global) 4 "o1"
133 MemberName 20($Global) 5 "o2"
134 MemberName 20($Global) 6 "o3"
135 MemberName 20($Global) 7 "o4"
141 Decorate 14(g_tBuffF) DescriptorSet 0
142 MemberDecorate 20($Global) 0 Offset 0
143 MemberDecorate 20($Global) 1 Offset 8
144 MemberDecorate 20($Global) 2 Offset 16
145 MemberDecorate 20($Global) 3 Offset 32
146 MemberDecorate 20($Global) 4 Offset 48
147 MemberDecorate 20($Global) 5 Offset 56
148 MemberDecorate 20($Global) 6 Offset 64
149 MemberDecorate 20($Global) 7 Offset 80
150 Decorate 20($Global) Block
151 Decorate 22 DescriptorSet 0
152 Decorate 31(g_tBuffU) DescriptorSet 0
153 Decorate 39(g_tBuffI) DescriptorSet 0
154 Decorate 54(Color) Location 0
158 7: TypeVector 6(float) 4
159 8(PS_OUTPUT): TypeStruct 7(fvec4)
160 9: TypeFunction 8(PS_OUTPUT)
161 12: TypeImage 6(float) Buffer nonsampled format:Rgba32f
162 13: TypePointer UniformConstant 12
163 14(g_tBuffF): 13(ptr) Variable UniformConstant
165 17: TypeVector 16(int) 2
166 18: TypeVector 16(int) 3
167 19: TypeVector 16(int) 4
168 20($Global): TypeStruct 16(int) 17(ivec2) 18(ivec3) 19(ivec4) 16(int) 17(ivec2) 18(ivec3) 19(ivec4)
169 21: TypePointer Uniform 20($Global)
170 22: 21(ptr) Variable Uniform
171 23: 16(int) Constant 0
172 24: TypePointer Uniform 16(int)
174 29: TypeImage 28(int) Buffer nonsampled format:Rgba32ui
175 30: TypePointer UniformConstant 29
176 31(g_tBuffU): 30(ptr) Variable UniformConstant
177 35: TypeVector 28(int) 4
178 37: TypeImage 16(int) Buffer nonsampled format:Rgba32i
179 38: TypePointer UniformConstant 37
180 39(g_tBuffI): 38(ptr) Variable UniformConstant
181 44: TypePointer Function 8(PS_OUTPUT)
182 46: 6(float) Constant 1065353216
183 47: 7(fvec4) ConstantComposite 46 46 46 46
184 48: TypePointer Function 7(fvec4)
185 53: TypePointer Output 7(fvec4)
186 54(Color): 53(ptr) Variable Output
187 4(main): 2 Function None 3
189 55:8(PS_OUTPUT) FunctionCall 10(@main()
190 56: 7(fvec4) CompositeExtract 55 0
194 10(@main():8(PS_OUTPUT) Function None 9
196 45(psout): 44(ptr) Variable Function
197 15: 12 Load 14(g_tBuffF)
198 25: 24(ptr) AccessChain 22 23
200 27: 7(fvec4) ImageRead 15 26
201 32: 29 Load 31(g_tBuffU)
202 33: 24(ptr) AccessChain 22 23
204 36: 35(ivec4) ImageRead 32 34
205 40: 37 Load 39(g_tBuffI)
206 41: 24(ptr) AccessChain 22 23
208 43: 19(ivec4) ImageRead 40 42
209 49: 48(ptr) AccessChain 45(psout) 23
211 50:8(PS_OUTPUT) Load 45(psout)