1 hlsl.load.buffer.float.dx10.frag
3 gl_FragCoord origin is upper left
6 0:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
7 0:24 Function Parameters:
10 0:28 move second child to first child ( temp float)
11 0:28 'r00' ( temp float)
12 0:28 Construct float ( temp float)
13 0:? textureFetch ( temp 4-component vector of float)
14 0:28 'g_tTexbfs' (layout( r32f) uniform textureBuffer)
15 0:28 c1: direct index for structure ( uniform int)
16 0:28 '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:29 move second child to first child ( temp int)
21 0:29 'r01' ( temp int)
22 0:29 Construct int ( temp int)
23 0:? textureFetch ( temp 4-component vector of int)
24 0:29 'g_tTexbis' (layout( r32i) uniform itextureBuffer)
25 0:29 c1: direct index for structure ( uniform int)
26 0:29 '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})
30 0:30 move second child to first child ( temp uint)
31 0:30 'r02' ( temp uint)
32 0:30 Construct uint ( temp uint)
33 0:? textureFetch ( temp 4-component vector of uint)
34 0:30 'g_tTexbus' (layout( r32ui) uniform utextureBuffer)
35 0:30 c1: direct index for structure ( uniform int)
36 0:30 '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})
39 0:34 move second child to first child ( temp 4-component vector of float)
40 0:34 Color: direct index for structure ( temp 4-component vector of float)
41 0:34 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
49 0:35 move second child to first child ( temp float)
50 0:35 Depth: direct index for structure ( temp float)
51 0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
56 0:37 Branch: Return with expression
57 0:37 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
58 0:24 Function Definition: main( ( temp void)
59 0:24 Function Parameters:
62 0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
63 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
64 0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
65 0:24 move second child to first child ( temp 4-component vector of float)
66 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
67 0:24 Color: direct index for structure ( temp 4-component vector of float)
68 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
71 0:24 move second child to first child ( temp float)
72 0:? '@entryPointOutput.Depth' ( out float FragDepth)
73 0:24 Depth: direct index for structure ( temp float)
74 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
78 0:? 'g_tTexbfs_test' (layout( binding=0 r32f) uniform textureBuffer)
79 0:? 'g_tTexbfs' (layout( r32f) uniform textureBuffer)
80 0:? 'g_tTexbis' (layout( r32i) uniform itextureBuffer)
81 0:? 'g_tTexbus' (layout( r32ui) uniform utextureBuffer)
82 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})
83 0:? '@entryPointOutput.Depth' ( out float FragDepth)
84 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
87 Linked fragment stage:
91 gl_FragCoord origin is upper left
94 0:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
95 0:24 Function Parameters:
98 0:28 move second child to first child ( temp float)
99 0:28 'r00' ( temp float)
100 0:28 Construct float ( temp float)
101 0:? textureFetch ( temp 4-component vector of float)
102 0:28 'g_tTexbfs' (layout( r32f) uniform textureBuffer)
103 0:28 c1: direct index for structure ( uniform int)
104 0:28 '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})
108 0:29 move second child to first child ( temp int)
109 0:29 'r01' ( temp int)
110 0:29 Construct int ( temp int)
111 0:? textureFetch ( temp 4-component vector of int)
112 0:29 'g_tTexbis' (layout( r32i) uniform itextureBuffer)
113 0:29 c1: direct index for structure ( uniform int)
114 0:29 '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})
118 0:30 move second child to first child ( temp uint)
119 0:30 'r02' ( temp uint)
120 0:30 Construct uint ( temp uint)
121 0:? textureFetch ( temp 4-component vector of uint)
122 0:30 'g_tTexbus' (layout( r32ui) uniform utextureBuffer)
123 0:30 c1: direct index for structure ( uniform int)
124 0:30 '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})
127 0:34 move second child to first child ( temp 4-component vector of float)
128 0:34 Color: direct index for structure ( temp 4-component vector of float)
129 0:34 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
137 0:35 move second child to first child ( temp float)
138 0:35 Depth: direct index for structure ( temp float)
139 0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
144 0:37 Branch: Return with expression
145 0:37 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
146 0:24 Function Definition: main( ( temp void)
147 0:24 Function Parameters:
150 0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
151 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
152 0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
153 0:24 move second child to first child ( temp 4-component vector of float)
154 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
155 0:24 Color: direct index for structure ( temp 4-component vector of float)
156 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
159 0:24 move second child to first child ( temp float)
160 0:? '@entryPointOutput.Depth' ( out float FragDepth)
161 0:24 Depth: direct index for structure ( temp float)
162 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
166 0:? 'g_tTexbfs_test' (layout( binding=0 r32f) uniform textureBuffer)
167 0:? 'g_tTexbfs' (layout( r32f) uniform textureBuffer)
168 0:? 'g_tTexbis' (layout( r32i) uniform itextureBuffer)
169 0:? 'g_tTexbus' (layout( r32ui) uniform utextureBuffer)
170 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})
171 0:? '@entryPointOutput.Depth' ( out float FragDepth)
172 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
174 // Module Version 10000
175 // Generated by (magic number): 8000a
176 // Id's are bound by 75
179 Capability SampledBuffer
180 1: ExtInstImport "GLSL.std.450"
181 MemoryModel Logical GLSL450
182 EntryPoint Fragment 4 "main" 67 71
183 ExecutionMode 4 OriginUpperLeft
184 ExecutionMode 4 DepthReplacing
188 MemberName 8(PS_OUTPUT) 0 "Color"
189 MemberName 8(PS_OUTPUT) 1 "Depth"
194 MemberName 22($Global) 0 "c1"
195 MemberName 22($Global) 1 "c2"
196 MemberName 22($Global) 2 "c3"
197 MemberName 22($Global) 3 "c4"
198 MemberName 22($Global) 4 "o1"
199 MemberName 22($Global) 5 "o2"
200 MemberName 22($Global) 6 "o3"
201 MemberName 22($Global) 7 "o4"
208 Name 64 "flattenTemp"
209 Name 67 "@entryPointOutput.Color"
210 Name 71 "@entryPointOutput.Depth"
211 Name 74 "g_tTexbfs_test"
212 Decorate 16(g_tTexbfs) DescriptorSet 0
213 Decorate 16(g_tTexbfs) Binding 1
214 MemberDecorate 22($Global) 0 Offset 0
215 MemberDecorate 22($Global) 1 Offset 8
216 MemberDecorate 22($Global) 2 Offset 16
217 MemberDecorate 22($Global) 3 Offset 32
218 MemberDecorate 22($Global) 4 Offset 48
219 MemberDecorate 22($Global) 5 Offset 56
220 MemberDecorate 22($Global) 6 Offset 64
221 MemberDecorate 22($Global) 7 Offset 80
222 Decorate 22($Global) Block
223 Decorate 24 DescriptorSet 0
224 Decorate 24 Binding 4
225 Decorate 35(g_tTexbis) DescriptorSet 0
226 Decorate 35(g_tTexbis) Binding 2
227 Decorate 46(g_tTexbus) DescriptorSet 0
228 Decorate 46(g_tTexbus) Binding 3
229 Decorate 67(@entryPointOutput.Color) Location 0
230 Decorate 71(@entryPointOutput.Depth) BuiltIn FragDepth
231 Decorate 74(g_tTexbfs_test) DescriptorSet 0
232 Decorate 74(g_tTexbfs_test) Binding 0
236 7: TypeVector 6(float) 4
237 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
238 9: TypeFunction 8(PS_OUTPUT)
239 12: TypePointer Function 6(float)
240 14: TypeImage 6(float) Buffer sampled format:R32f
241 15: TypePointer UniformConstant 14
242 16(g_tTexbfs): 15(ptr) Variable UniformConstant
244 19: TypeVector 18(int) 2
245 20: TypeVector 18(int) 3
246 21: TypeVector 18(int) 4
247 22($Global): TypeStruct 18(int) 19(ivec2) 20(ivec3) 21(ivec4) 18(int) 19(ivec2) 20(ivec3) 21(ivec4)
248 23: TypePointer Uniform 22($Global)
249 24: 23(ptr) Variable Uniform
250 25: 18(int) Constant 0
251 26: TypePointer Uniform 18(int)
252 31: TypePointer Function 18(int)
253 33: TypeImage 18(int) Buffer sampled format:R32i
254 34: TypePointer UniformConstant 33
255 35(g_tTexbis): 34(ptr) Variable UniformConstant
257 42: TypePointer Function 41(int)
258 44: TypeImage 41(int) Buffer sampled format:R32ui
259 45: TypePointer UniformConstant 44
260 46(g_tTexbus): 45(ptr) Variable UniformConstant
261 50: TypeVector 41(int) 4
262 53: TypePointer Function 8(PS_OUTPUT)
263 55: 6(float) Constant 1065353216
264 56: 7(fvec4) ConstantComposite 55 55 55 55
265 57: TypePointer Function 7(fvec4)
266 59: 18(int) Constant 1
267 66: TypePointer Output 7(fvec4)
268 67(@entryPointOutput.Color): 66(ptr) Variable Output
269 70: TypePointer Output 6(float)
270 71(@entryPointOutput.Depth): 70(ptr) Variable Output
271 74(g_tTexbfs_test): 15(ptr) Variable UniformConstant
272 4(main): 2 Function None 3
274 64(flattenTemp): 53(ptr) Variable Function
275 65:8(PS_OUTPUT) FunctionCall 10(@main()
276 Store 64(flattenTemp) 65
277 68: 57(ptr) AccessChain 64(flattenTemp) 25
279 Store 67(@entryPointOutput.Color) 69
280 72: 12(ptr) AccessChain 64(flattenTemp) 59
282 Store 71(@entryPointOutput.Depth) 73
285 10(@main():8(PS_OUTPUT) Function None 9
287 13(r00): 12(ptr) Variable Function
288 32(r01): 31(ptr) Variable Function
289 43(r02): 42(ptr) Variable Function
290 54(psout): 53(ptr) Variable Function
291 17: 14 Load 16(g_tTexbfs)
292 27: 26(ptr) AccessChain 24 25
294 29: 7(fvec4) ImageFetch 17 28
295 30: 6(float) CompositeExtract 29 0
297 36: 33 Load 35(g_tTexbis)
298 37: 26(ptr) AccessChain 24 25
300 39: 21(ivec4) ImageFetch 36 38
301 40: 18(int) CompositeExtract 39 0
303 47: 44 Load 46(g_tTexbus)
304 48: 26(ptr) AccessChain 24 25
306 51: 50(ivec4) ImageFetch 47 49
307 52: 41(int) CompositeExtract 51 0
309 58: 57(ptr) AccessChain 54(psout) 25
311 60: 12(ptr) AccessChain 54(psout) 59
313 61:8(PS_OUTPUT) Load 54(psout)