1 hlsl.structarray.flatten.frag
3 gl_FragCoord origin is upper left
5 0:23 Function Definition: @main(struct-PS_OUTPUT-vf41; ( temp void)
6 0:23 Function Parameters:
7 0:23 'ps_output' ( out structure{ temp 4-component vector of float color})
9 0:24 move second child to first child ( temp 4-component vector of float)
10 0:24 color: direct index for structure ( temp 4-component vector of float)
11 0:24 'ps_output' ( out structure{ temp 4-component vector of float color})
14 0:26 add ( temp 4-component vector of float)
15 0:25 add ( temp 4-component vector of float)
16 0:25 texture ( temp 4-component vector of float)
17 0:25 Construct combined texture-sampler ( temp sampler1D)
18 0:? 'tex' ( uniform texture1D)
19 0:? 'samp' ( uniform sampler)
22 0:26 texture ( temp 4-component vector of float)
23 0:26 Construct combined texture-sampler ( temp sampler1D)
24 0:? 'g_texdata_array[1].tex' ( uniform texture1D)
25 0:? 'g_texdata_array[1].samp' ( uniform sampler)
28 0:27 texture ( temp 4-component vector of float)
29 0:27 Construct combined texture-sampler ( temp sampler1D)
30 0:? 'g_texdata_array2[1].tex[0]' ( uniform texture1D)
31 0:? 'g_texdata_array2[1].samp[0]' ( uniform sampler)
34 0:23 Function Definition: main( ( temp void)
35 0:23 Function Parameters:
37 0:23 Function Call: @main(struct-PS_OUTPUT-vf41; ( temp void)
38 0:? 'ps_output' ( temp structure{ temp 4-component vector of float color})
40 0:23 move second child to first child ( temp 4-component vector of float)
41 0:? 'color' (layout( location=0) out 4-component vector of float)
42 0:23 color: direct index for structure ( temp 4-component vector of float)
43 0:? 'ps_output' ( temp structure{ temp 4-component vector of float color})
47 0:? 'g_samp' ( uniform sampler)
48 0:? 'g_tex' ( uniform texture1D)
49 0:? 'g_texdata_array2[0].samp[0]' ( uniform sampler)
50 0:? 'g_texdata_array2[0].samp[1]' ( uniform sampler)
51 0:? 'g_texdata_array2[0].tex[0]' ( uniform texture1D)
52 0:? 'g_texdata_array2[0].tex[1]' ( uniform texture1D)
53 0:? 'g_texdata_array2[1].samp[0]' ( uniform sampler)
54 0:? 'g_texdata_array2[1].samp[1]' ( uniform sampler)
55 0:? 'g_texdata_array2[1].tex[0]' ( uniform texture1D)
56 0:? 'g_texdata_array2[1].tex[1]' ( uniform texture1D)
57 0:? 'g_texdata_array2[2].samp[0]' ( uniform sampler)
58 0:? 'g_texdata_array2[2].samp[1]' ( uniform sampler)
59 0:? 'g_texdata_array2[2].tex[0]' ( uniform texture1D)
60 0:? 'g_texdata_array2[2].tex[1]' ( uniform texture1D)
61 0:? 'color' (layout( location=0) out 4-component vector of float)
64 Linked fragment stage:
68 gl_FragCoord origin is upper left
70 0:23 Function Definition: @main(struct-PS_OUTPUT-vf41; ( temp void)
71 0:23 Function Parameters:
72 0:23 'ps_output' ( out structure{ temp 4-component vector of float color})
74 0:24 move second child to first child ( temp 4-component vector of float)
75 0:24 color: direct index for structure ( temp 4-component vector of float)
76 0:24 'ps_output' ( out structure{ temp 4-component vector of float color})
79 0:26 add ( temp 4-component vector of float)
80 0:25 add ( temp 4-component vector of float)
81 0:25 texture ( temp 4-component vector of float)
82 0:25 Construct combined texture-sampler ( temp sampler1D)
83 0:? 'tex' ( uniform texture1D)
84 0:? 'samp' ( uniform sampler)
87 0:26 texture ( temp 4-component vector of float)
88 0:26 Construct combined texture-sampler ( temp sampler1D)
89 0:? 'g_texdata_array[1].tex' ( uniform texture1D)
90 0:? 'g_texdata_array[1].samp' ( uniform sampler)
93 0:27 texture ( temp 4-component vector of float)
94 0:27 Construct combined texture-sampler ( temp sampler1D)
95 0:? 'g_texdata_array2[1].tex[0]' ( uniform texture1D)
96 0:? 'g_texdata_array2[1].samp[0]' ( uniform sampler)
99 0:23 Function Definition: main( ( temp void)
100 0:23 Function Parameters:
102 0:23 Function Call: @main(struct-PS_OUTPUT-vf41; ( temp void)
103 0:? 'ps_output' ( temp structure{ temp 4-component vector of float color})
105 0:23 move second child to first child ( temp 4-component vector of float)
106 0:? 'color' (layout( location=0) out 4-component vector of float)
107 0:23 color: direct index for structure ( temp 4-component vector of float)
108 0:? 'ps_output' ( temp structure{ temp 4-component vector of float color})
112 0:? 'g_samp' ( uniform sampler)
113 0:? 'g_tex' ( uniform texture1D)
114 0:? 'g_texdata_array2[0].samp[0]' ( uniform sampler)
115 0:? 'g_texdata_array2[0].samp[1]' ( uniform sampler)
116 0:? 'g_texdata_array2[0].tex[0]' ( uniform texture1D)
117 0:? 'g_texdata_array2[0].tex[1]' ( uniform texture1D)
118 0:? 'g_texdata_array2[1].samp[0]' ( uniform sampler)
119 0:? 'g_texdata_array2[1].samp[1]' ( uniform sampler)
120 0:? 'g_texdata_array2[1].tex[0]' ( uniform texture1D)
121 0:? 'g_texdata_array2[1].tex[1]' ( uniform texture1D)
122 0:? 'g_texdata_array2[2].samp[0]' ( uniform sampler)
123 0:? 'g_texdata_array2[2].samp[1]' ( uniform sampler)
124 0:? 'g_texdata_array2[2].tex[0]' ( uniform texture1D)
125 0:? 'g_texdata_array2[2].tex[1]' ( uniform texture1D)
126 0:? 'color' (layout( location=0) out 4-component vector of float)
128 // Module Version 10000
129 // Generated by (magic number): 80001
130 // Id's are bound by 66
134 1: ExtInstImport "GLSL.std.450"
135 MemoryModel Logical GLSL450
136 EntryPoint Fragment 4 "main" 51
137 ExecutionMode 4 OriginUpperLeft
140 MemberName 8(PS_OUTPUT) 0 "color"
141 Name 12 "@main(struct-PS_OUTPUT-vf41;"
145 Name 28 "g_texdata_array[1].tex"
146 Name 30 "g_texdata_array[1].samp"
147 Name 36 "g_texdata_array2[1].tex[0]"
148 Name 38 "g_texdata_array2[1].samp[0]"
154 Name 56 "g_texdata_array2[0].samp[0]"
155 Name 57 "g_texdata_array2[0].samp[1]"
156 Name 58 "g_texdata_array2[0].tex[0]"
157 Name 59 "g_texdata_array2[0].tex[1]"
158 Name 60 "g_texdata_array2[1].samp[1]"
159 Name 61 "g_texdata_array2[1].tex[1]"
160 Name 62 "g_texdata_array2[2].samp[0]"
161 Name 63 "g_texdata_array2[2].samp[1]"
162 Name 64 "g_texdata_array2[2].tex[0]"
163 Name 65 "g_texdata_array2[2].tex[1]"
164 Decorate 18(tex) DescriptorSet 0
165 Decorate 22(samp) DescriptorSet 0
166 Decorate 28(g_texdata_array[1].tex) DescriptorSet 0
167 Decorate 30(g_texdata_array[1].samp) DescriptorSet 0
168 Decorate 36(g_texdata_array2[1].tex[0]) DescriptorSet 0
169 Decorate 38(g_texdata_array2[1].samp[0]) DescriptorSet 0
170 Decorate 51(color) Location 0
171 Decorate 54(g_samp) DescriptorSet 0
172 Decorate 55(g_tex) DescriptorSet 0
173 Decorate 56(g_texdata_array2[0].samp[0]) DescriptorSet 0
174 Decorate 57(g_texdata_array2[0].samp[1]) DescriptorSet 0
175 Decorate 58(g_texdata_array2[0].tex[0]) DescriptorSet 0
176 Decorate 59(g_texdata_array2[0].tex[1]) DescriptorSet 0
177 Decorate 60(g_texdata_array2[1].samp[1]) DescriptorSet 0
178 Decorate 61(g_texdata_array2[1].tex[1]) DescriptorSet 0
179 Decorate 62(g_texdata_array2[2].samp[0]) DescriptorSet 0
180 Decorate 63(g_texdata_array2[2].samp[1]) DescriptorSet 0
181 Decorate 64(g_texdata_array2[2].tex[0]) DescriptorSet 0
182 Decorate 65(g_texdata_array2[2].tex[1]) DescriptorSet 0
186 7: TypeVector 6(float) 4
187 8(PS_OUTPUT): TypeStruct 7(fvec4)
188 9: TypePointer Function 8(PS_OUTPUT)
189 10: TypeFunction 2 9(ptr)
191 15: 14(int) Constant 0
192 16: TypeImage 6(float) 1D sampled format:Unknown
193 17: TypePointer UniformConstant 16
194 18(tex): 17(ptr) Variable UniformConstant
196 21: TypePointer UniformConstant 20
197 22(samp): 21(ptr) Variable UniformConstant
198 24: TypeSampledImage 16
199 26: 6(float) Constant 1056964608
200 28(g_texdata_array[1].tex): 17(ptr) Variable UniformConstant
201 30(g_texdata_array[1].samp): 21(ptr) Variable UniformConstant
202 33: 6(float) Constant 1053609165
203 36(g_texdata_array2[1].tex[0]): 17(ptr) Variable UniformConstant
204 38(g_texdata_array2[1].samp[0]): 21(ptr) Variable UniformConstant
205 41: 6(float) Constant 1050253722
206 44: TypePointer Function 7(fvec4)
207 50: TypePointer Output 7(fvec4)
208 51(color): 50(ptr) Variable Output
209 54(g_samp): 21(ptr) Variable UniformConstant
210 55(g_tex): 17(ptr) Variable UniformConstant
211 56(g_texdata_array2[0].samp[0]): 21(ptr) Variable UniformConstant
212 57(g_texdata_array2[0].samp[1]): 21(ptr) Variable UniformConstant
213 58(g_texdata_array2[0].tex[0]): 17(ptr) Variable UniformConstant
214 59(g_texdata_array2[0].tex[1]): 17(ptr) Variable UniformConstant
215 60(g_texdata_array2[1].samp[1]): 21(ptr) Variable UniformConstant
216 61(g_texdata_array2[1].tex[1]): 17(ptr) Variable UniformConstant
217 62(g_texdata_array2[2].samp[0]): 21(ptr) Variable UniformConstant
218 63(g_texdata_array2[2].samp[1]): 21(ptr) Variable UniformConstant
219 64(g_texdata_array2[2].tex[0]): 17(ptr) Variable UniformConstant
220 65(g_texdata_array2[2].tex[1]): 17(ptr) Variable UniformConstant
221 4(main): 2 Function None 3
223 46(ps_output): 9(ptr) Variable Function
224 47(param): 9(ptr) Variable Function
225 48: 2 FunctionCall 12(@main(struct-PS_OUTPUT-vf41;) 47(param)
226 49:8(PS_OUTPUT) Load 47(param)
227 Store 46(ps_output) 49
228 52: 44(ptr) AccessChain 46(ps_output) 15
233 12(@main(struct-PS_OUTPUT-vf41;): 2 Function None 10
234 11(ps_output): 9(ptr) FunctionParameter
238 25: 24 SampledImage 19 23
239 27: 7(fvec4) ImageSampleImplicitLod 25 26
240 29: 16 Load 28(g_texdata_array[1].tex)
241 31: 20 Load 30(g_texdata_array[1].samp)
242 32: 24 SampledImage 29 31
243 34: 7(fvec4) ImageSampleImplicitLod 32 33
244 35: 7(fvec4) FAdd 27 34
245 37: 16 Load 36(g_texdata_array2[1].tex[0])
246 39: 20 Load 38(g_texdata_array2[1].samp[0])
247 40: 24 SampledImage 37 39
248 42: 7(fvec4) ImageSampleImplicitLod 40 41
249 43: 7(fvec4) FAdd 35 42
250 45: 44(ptr) AccessChain 11(ps_output) 15