1 hlsl.texture.subvec4.frag
3 gl_FragCoord origin is upper left
5 0:15 Function Definition: @main( ( temp 4-component vector of float)
6 0:15 Function Parameters:
9 0:24 move second child to first child ( temp 2-component vector of uint)
10 0:24 'sizeQueryTemp' ( temp 2-component vector of uint)
11 0:24 textureSize ( temp 2-component vector of uint)
12 0:24 'g_tTex2dmsf1' ( uniform texture2DMS)
13 0:24 move second child to first child ( temp uint)
14 0:24 'WidthU' ( temp uint)
15 0:24 direct index ( temp uint)
16 0:24 'sizeQueryTemp' ( temp 2-component vector of uint)
19 0:24 move second child to first child ( temp uint)
20 0:24 'HeightU' ( temp uint)
21 0:24 direct index ( temp uint)
22 0:24 'sizeQueryTemp' ( temp 2-component vector of uint)
25 0:24 move second child to first child ( temp uint)
26 0:24 'NumberOfSamplesU' ( temp uint)
27 0:24 imageQuerySamples ( temp uint)
28 0:24 'g_tTex2dmsf1' ( uniform texture2DMS)
30 0:25 move second child to first child ( temp 2-component vector of uint)
31 0:25 'sizeQueryTemp' ( temp 2-component vector of uint)
32 0:25 textureSize ( temp 2-component vector of uint)
33 0:25 'g_tTex2dmsf2' ( uniform texture2DMS)
34 0:25 move second child to first child ( temp uint)
35 0:25 'WidthU' ( temp uint)
36 0:25 direct index ( temp uint)
37 0:25 'sizeQueryTemp' ( temp 2-component vector of uint)
40 0:25 move second child to first child ( temp uint)
41 0:25 'HeightU' ( temp uint)
42 0:25 direct index ( temp uint)
43 0:25 'sizeQueryTemp' ( temp 2-component vector of uint)
46 0:25 move second child to first child ( temp uint)
47 0:25 'NumberOfSamplesU' ( temp uint)
48 0:25 imageQuerySamples ( temp uint)
49 0:25 'g_tTex2dmsf2' ( uniform texture2DMS)
51 0:26 move second child to first child ( temp 2-component vector of uint)
52 0:26 'sizeQueryTemp' ( temp 2-component vector of uint)
53 0:26 textureSize ( temp 2-component vector of uint)
54 0:26 'g_tTex2dmsf3' ( uniform texture2DMS)
55 0:26 move second child to first child ( temp uint)
56 0:26 'WidthU' ( temp uint)
57 0:26 direct index ( temp uint)
58 0:26 'sizeQueryTemp' ( temp 2-component vector of uint)
61 0:26 move second child to first child ( temp uint)
62 0:26 'HeightU' ( temp uint)
63 0:26 direct index ( temp uint)
64 0:26 'sizeQueryTemp' ( temp 2-component vector of uint)
67 0:26 move second child to first child ( temp uint)
68 0:26 'NumberOfSamplesU' ( temp uint)
69 0:26 imageQuerySamples ( temp uint)
70 0:26 'g_tTex2dmsf3' ( uniform texture2DMS)
72 0:27 move second child to first child ( temp 2-component vector of uint)
73 0:27 'sizeQueryTemp' ( temp 2-component vector of uint)
74 0:27 textureSize ( temp 2-component vector of uint)
75 0:27 'g_tTex2dmsf4' ( uniform texture2DMS)
76 0:27 move second child to first child ( temp uint)
77 0:27 'WidthU' ( temp uint)
78 0:27 direct index ( temp uint)
79 0:27 'sizeQueryTemp' ( temp 2-component vector of uint)
82 0:27 move second child to first child ( temp uint)
83 0:27 'HeightU' ( temp uint)
84 0:27 direct index ( temp uint)
85 0:27 'sizeQueryTemp' ( temp 2-component vector of uint)
88 0:27 move second child to first child ( temp uint)
89 0:27 'NumberOfSamplesU' ( temp uint)
90 0:27 imageQuerySamples ( temp uint)
91 0:27 'g_tTex2dmsf4' ( uniform texture2DMS)
92 0:29 Construct float ( temp float)
93 0:? textureFetch ( temp 4-component vector of float)
94 0:29 'g_tTex2dmsf1' ( uniform texture2DMS)
100 0:30 Construct vec2 ( temp 2-component vector of float)
101 0:? textureFetch ( temp 4-component vector of float)
102 0:30 'g_tTex2dmsf2' ( uniform texture2DMS)
108 0:31 Construct vec3 ( temp 3-component vector of float)
109 0:? textureFetch ( temp 4-component vector of float)
110 0:31 'g_tTex2dmsf3' ( uniform texture2DMS)
116 0:32 textureFetch ( temp 4-component vector of float)
117 0:32 'g_tTex2dmsf4' ( uniform texture2DMS)
123 0:34 Construct float ( temp float)
124 0:? texture ( temp 4-component vector of float)
125 0:34 Construct combined texture-sampler ( temp sampler2D)
126 0:34 'g_tTex2df1' ( uniform texture2D)
127 0:34 'g_sSamp' ( uniform sampler)
131 0:35 Construct vec2 ( temp 2-component vector of float)
132 0:? texture ( temp 4-component vector of float)
133 0:35 Construct combined texture-sampler ( temp sampler2D)
134 0:35 'g_tTex2df2' ( uniform texture2D)
135 0:35 'g_sSamp' ( uniform sampler)
139 0:36 Construct vec3 ( temp 3-component vector of float)
140 0:? texture ( temp 4-component vector of float)
141 0:36 Construct combined texture-sampler ( temp sampler2D)
142 0:36 'g_tTex2df3' ( uniform texture2D)
143 0:36 'g_sSamp' ( uniform sampler)
147 0:37 texture ( temp 4-component vector of float)
148 0:37 Construct combined texture-sampler ( temp sampler2D)
149 0:37 'g_tTex2df4' ( uniform texture2D)
150 0:37 'g_sSamp' ( uniform sampler)
154 0:39 Branch: Return with expression
160 0:15 Function Definition: main( ( temp void)
161 0:15 Function Parameters:
163 0:15 move second child to first child ( temp 4-component vector of float)
164 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
165 0:15 Function Call: @main( ( temp 4-component vector of float)
167 0:? 'g_tTex2dmsf1' ( uniform texture2DMS)
168 0:? 'g_tTex2dmsf2' ( uniform texture2DMS)
169 0:? 'g_tTex2dmsf3' ( uniform texture2DMS)
170 0:? 'g_tTex2dmsf4' ( uniform texture2DMS)
171 0:? 'g_tTex2df1' ( uniform texture2D)
172 0:? 'g_tTex2df2' ( uniform texture2D)
173 0:? 'g_tTex2df3' ( uniform texture2D)
174 0:? 'g_tTex2df4' ( uniform texture2D)
175 0:? 'g_sSamp' ( uniform sampler)
176 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
179 Linked fragment stage:
183 gl_FragCoord origin is upper left
185 0:15 Function Definition: @main( ( temp 4-component vector of float)
186 0:15 Function Parameters:
189 0:24 move second child to first child ( temp 2-component vector of uint)
190 0:24 'sizeQueryTemp' ( temp 2-component vector of uint)
191 0:24 textureSize ( temp 2-component vector of uint)
192 0:24 'g_tTex2dmsf1' ( uniform texture2DMS)
193 0:24 move second child to first child ( temp uint)
194 0:24 'WidthU' ( temp uint)
195 0:24 direct index ( temp uint)
196 0:24 'sizeQueryTemp' ( temp 2-component vector of uint)
199 0:24 move second child to first child ( temp uint)
200 0:24 'HeightU' ( temp uint)
201 0:24 direct index ( temp uint)
202 0:24 'sizeQueryTemp' ( temp 2-component vector of uint)
205 0:24 move second child to first child ( temp uint)
206 0:24 'NumberOfSamplesU' ( temp uint)
207 0:24 imageQuerySamples ( temp uint)
208 0:24 'g_tTex2dmsf1' ( uniform texture2DMS)
210 0:25 move second child to first child ( temp 2-component vector of uint)
211 0:25 'sizeQueryTemp' ( temp 2-component vector of uint)
212 0:25 textureSize ( temp 2-component vector of uint)
213 0:25 'g_tTex2dmsf2' ( uniform texture2DMS)
214 0:25 move second child to first child ( temp uint)
215 0:25 'WidthU' ( temp uint)
216 0:25 direct index ( temp uint)
217 0:25 'sizeQueryTemp' ( temp 2-component vector of uint)
220 0:25 move second child to first child ( temp uint)
221 0:25 'HeightU' ( temp uint)
222 0:25 direct index ( temp uint)
223 0:25 'sizeQueryTemp' ( temp 2-component vector of uint)
226 0:25 move second child to first child ( temp uint)
227 0:25 'NumberOfSamplesU' ( temp uint)
228 0:25 imageQuerySamples ( temp uint)
229 0:25 'g_tTex2dmsf2' ( uniform texture2DMS)
231 0:26 move second child to first child ( temp 2-component vector of uint)
232 0:26 'sizeQueryTemp' ( temp 2-component vector of uint)
233 0:26 textureSize ( temp 2-component vector of uint)
234 0:26 'g_tTex2dmsf3' ( uniform texture2DMS)
235 0:26 move second child to first child ( temp uint)
236 0:26 'WidthU' ( temp uint)
237 0:26 direct index ( temp uint)
238 0:26 'sizeQueryTemp' ( temp 2-component vector of uint)
241 0:26 move second child to first child ( temp uint)
242 0:26 'HeightU' ( temp uint)
243 0:26 direct index ( temp uint)
244 0:26 'sizeQueryTemp' ( temp 2-component vector of uint)
247 0:26 move second child to first child ( temp uint)
248 0:26 'NumberOfSamplesU' ( temp uint)
249 0:26 imageQuerySamples ( temp uint)
250 0:26 'g_tTex2dmsf3' ( uniform texture2DMS)
252 0:27 move second child to first child ( temp 2-component vector of uint)
253 0:27 'sizeQueryTemp' ( temp 2-component vector of uint)
254 0:27 textureSize ( temp 2-component vector of uint)
255 0:27 'g_tTex2dmsf4' ( uniform texture2DMS)
256 0:27 move second child to first child ( temp uint)
257 0:27 'WidthU' ( temp uint)
258 0:27 direct index ( temp uint)
259 0:27 'sizeQueryTemp' ( temp 2-component vector of uint)
262 0:27 move second child to first child ( temp uint)
263 0:27 'HeightU' ( temp uint)
264 0:27 direct index ( temp uint)
265 0:27 'sizeQueryTemp' ( temp 2-component vector of uint)
268 0:27 move second child to first child ( temp uint)
269 0:27 'NumberOfSamplesU' ( temp uint)
270 0:27 imageQuerySamples ( temp uint)
271 0:27 'g_tTex2dmsf4' ( uniform texture2DMS)
272 0:29 Construct float ( temp float)
273 0:? textureFetch ( temp 4-component vector of float)
274 0:29 'g_tTex2dmsf1' ( uniform texture2DMS)
280 0:30 Construct vec2 ( temp 2-component vector of float)
281 0:? textureFetch ( temp 4-component vector of float)
282 0:30 'g_tTex2dmsf2' ( uniform texture2DMS)
288 0:31 Construct vec3 ( temp 3-component vector of float)
289 0:? textureFetch ( temp 4-component vector of float)
290 0:31 'g_tTex2dmsf3' ( uniform texture2DMS)
296 0:32 textureFetch ( temp 4-component vector of float)
297 0:32 'g_tTex2dmsf4' ( uniform texture2DMS)
303 0:34 Construct float ( temp float)
304 0:? texture ( temp 4-component vector of float)
305 0:34 Construct combined texture-sampler ( temp sampler2D)
306 0:34 'g_tTex2df1' ( uniform texture2D)
307 0:34 'g_sSamp' ( uniform sampler)
311 0:35 Construct vec2 ( temp 2-component vector of float)
312 0:? texture ( temp 4-component vector of float)
313 0:35 Construct combined texture-sampler ( temp sampler2D)
314 0:35 'g_tTex2df2' ( uniform texture2D)
315 0:35 'g_sSamp' ( uniform sampler)
319 0:36 Construct vec3 ( temp 3-component vector of float)
320 0:? texture ( temp 4-component vector of float)
321 0:36 Construct combined texture-sampler ( temp sampler2D)
322 0:36 'g_tTex2df3' ( uniform texture2D)
323 0:36 'g_sSamp' ( uniform sampler)
327 0:37 texture ( temp 4-component vector of float)
328 0:37 Construct combined texture-sampler ( temp sampler2D)
329 0:37 'g_tTex2df4' ( uniform texture2D)
330 0:37 'g_sSamp' ( uniform sampler)
334 0:39 Branch: Return with expression
340 0:15 Function Definition: main( ( temp void)
341 0:15 Function Parameters:
343 0:15 move second child to first child ( temp 4-component vector of float)
344 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
345 0:15 Function Call: @main( ( temp 4-component vector of float)
347 0:? 'g_tTex2dmsf1' ( uniform texture2DMS)
348 0:? 'g_tTex2dmsf2' ( uniform texture2DMS)
349 0:? 'g_tTex2dmsf3' ( uniform texture2DMS)
350 0:? 'g_tTex2dmsf4' ( uniform texture2DMS)
351 0:? 'g_tTex2df1' ( uniform texture2D)
352 0:? 'g_tTex2df2' ( uniform texture2D)
353 0:? 'g_tTex2df3' ( uniform texture2D)
354 0:? 'g_tTex2df4' ( uniform texture2D)
355 0:? 'g_sSamp' ( uniform sampler)
356 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
358 // Module Version 10000
359 // Generated by (magic number): 8000b
360 // Id's are bound by 130
363 Capability ImageQuery
364 1: ExtInstImport "GLSL.std.450"
365 MemoryModel Logical GLSL450
366 EntryPoint Fragment 4 "main" 128
367 ExecutionMode 4 OriginUpperLeft
371 Name 14 "sizeQueryTemp"
372 Name 17 "g_tTex2dmsf1"
375 Name 29 "NumberOfSamplesU"
376 Name 32 "sizeQueryTemp"
377 Name 33 "g_tTex2dmsf2"
378 Name 42 "sizeQueryTemp"
379 Name 43 "g_tTex2dmsf3"
380 Name 52 "sizeQueryTemp"
381 Name 53 "g_tTex2dmsf4"
384 Name 101 "g_tTex2df2"
385 Name 109 "g_tTex2df3"
386 Name 118 "g_tTex2df4"
387 Name 128 "@entryPointOutput"
388 Decorate 17(g_tTex2dmsf1) DescriptorSet 0
389 Decorate 17(g_tTex2dmsf1) Binding 0
390 Decorate 33(g_tTex2dmsf2) DescriptorSet 0
391 Decorate 33(g_tTex2dmsf2) Binding 1
392 Decorate 43(g_tTex2dmsf3) DescriptorSet 0
393 Decorate 43(g_tTex2dmsf3) Binding 2
394 Decorate 53(g_tTex2dmsf4) DescriptorSet 0
395 Decorate 53(g_tTex2dmsf4) Binding 3
396 Decorate 88(g_tTex2df1) DescriptorSet 0
397 Decorate 88(g_tTex2df1) Binding 4
398 Decorate 92(g_sSamp) DescriptorSet 0
399 Decorate 92(g_sSamp) Binding 8
400 Decorate 101(g_tTex2df2) DescriptorSet 0
401 Decorate 101(g_tTex2df2) Binding 5
402 Decorate 109(g_tTex2df3) DescriptorSet 0
403 Decorate 109(g_tTex2df3) Binding 6
404 Decorate 118(g_tTex2df4) DescriptorSet 0
405 Decorate 118(g_tTex2df4) Binding 7
406 Decorate 128(@entryPointOutput) Location 0
410 7: TypeVector 6(float) 4
411 8: TypeFunction 7(fvec4)
413 12: TypeVector 11(int) 2
414 13: TypePointer Function 12(ivec2)
415 15: TypeImage 6(float) 2D multi-sampled sampled format:Unknown
416 16: TypePointer UniformConstant 15
417 17(g_tTex2dmsf1): 16(ptr) Variable UniformConstant
418 20: TypePointer Function 11(int)
419 22: 11(int) Constant 0
420 26: 11(int) Constant 1
421 33(g_tTex2dmsf2): 16(ptr) Variable UniformConstant
422 43(g_tTex2dmsf3): 16(ptr) Variable UniformConstant
423 53(g_tTex2dmsf4): 16(ptr) Variable UniformConstant
425 64: TypeVector 63(int) 2
426 65: 63(int) Constant 1
427 66: 63(int) Constant 2
428 67: 64(ivec2) ConstantComposite 65 66
429 68: 63(int) Constant 3
430 73: TypeVector 6(float) 2
431 79: TypeVector 6(float) 3
432 86: TypeImage 6(float) 2D sampled format:Unknown
433 87: TypePointer UniformConstant 86
434 88(g_tTex2df1): 87(ptr) Variable UniformConstant
436 91: TypePointer UniformConstant 90
437 92(g_sSamp): 91(ptr) Variable UniformConstant
438 94: TypeSampledImage 86
439 96: 6(float) Constant 1036831949
440 97: 6(float) Constant 1045220557
441 98: 73(fvec2) ConstantComposite 96 97
442 101(g_tTex2df2): 87(ptr) Variable UniformConstant
443 109(g_tTex2df3): 87(ptr) Variable UniformConstant
444 118(g_tTex2df4): 87(ptr) Variable UniformConstant
445 123: 6(float) Constant 0
446 124: 7(fvec4) ConstantComposite 123 123 123 123
447 127: TypePointer Output 7(fvec4)
448 128(@entryPointOutput): 127(ptr) Variable Output
449 4(main): 2 Function None 3
451 129: 7(fvec4) FunctionCall 9(@main()
452 Store 128(@entryPointOutput) 129
455 9(@main(): 7(fvec4) Function None 8
457 14(sizeQueryTemp): 13(ptr) Variable Function
458 21(WidthU): 20(ptr) Variable Function
459 25(HeightU): 20(ptr) Variable Function
460 29(NumberOfSamplesU): 20(ptr) Variable Function
461 32(sizeQueryTemp): 13(ptr) Variable Function
462 42(sizeQueryTemp): 13(ptr) Variable Function
463 52(sizeQueryTemp): 13(ptr) Variable Function
464 18: 15 Load 17(g_tTex2dmsf1)
465 19: 12(ivec2) ImageQuerySize 18
466 Store 14(sizeQueryTemp) 19
467 23: 20(ptr) AccessChain 14(sizeQueryTemp) 22
470 27: 20(ptr) AccessChain 14(sizeQueryTemp) 26
473 30: 15 Load 17(g_tTex2dmsf1)
474 31: 11(int) ImageQuerySamples 30
475 Store 29(NumberOfSamplesU) 31
476 34: 15 Load 33(g_tTex2dmsf2)
477 35: 12(ivec2) ImageQuerySize 34
478 Store 32(sizeQueryTemp) 35
479 36: 20(ptr) AccessChain 32(sizeQueryTemp) 22
482 38: 20(ptr) AccessChain 32(sizeQueryTemp) 26
485 40: 15 Load 33(g_tTex2dmsf2)
486 41: 11(int) ImageQuerySamples 40
487 Store 29(NumberOfSamplesU) 41
488 44: 15 Load 43(g_tTex2dmsf3)
489 45: 12(ivec2) ImageQuerySize 44
490 Store 42(sizeQueryTemp) 45
491 46: 20(ptr) AccessChain 42(sizeQueryTemp) 22
494 48: 20(ptr) AccessChain 42(sizeQueryTemp) 26
497 50: 15 Load 43(g_tTex2dmsf3)
498 51: 11(int) ImageQuerySamples 50
499 Store 29(NumberOfSamplesU) 51
500 54: 15 Load 53(g_tTex2dmsf4)
501 55: 12(ivec2) ImageQuerySize 54
502 Store 52(sizeQueryTemp) 55
503 56: 20(ptr) AccessChain 52(sizeQueryTemp) 22
506 58: 20(ptr) AccessChain 52(sizeQueryTemp) 26
509 60: 15 Load 53(g_tTex2dmsf4)
510 61: 11(int) ImageQuerySamples 60
511 Store 29(NumberOfSamplesU) 61
512 62: 15 Load 17(g_tTex2dmsf1)
513 69: 7(fvec4) ImageFetch 62 67 Sample 68
514 70: 6(float) CompositeExtract 69 0
515 71: 15 Load 33(g_tTex2dmsf2)
516 72: 7(fvec4) ImageFetch 71 67 Sample 68
517 74: 6(float) CompositeExtract 72 0
518 75: 6(float) CompositeExtract 72 1
519 76: 73(fvec2) CompositeConstruct 74 75
520 77: 15 Load 43(g_tTex2dmsf3)
521 78: 7(fvec4) ImageFetch 77 67 Sample 68
522 80: 6(float) CompositeExtract 78 0
523 81: 6(float) CompositeExtract 78 1
524 82: 6(float) CompositeExtract 78 2
525 83: 79(fvec3) CompositeConstruct 80 81 82
526 84: 15 Load 53(g_tTex2dmsf4)
527 85: 7(fvec4) ImageFetch 84 67 Sample 68
528 89: 86 Load 88(g_tTex2df1)
529 93: 90 Load 92(g_sSamp)
530 95: 94 SampledImage 89 93
531 99: 7(fvec4) ImageSampleImplicitLod 95 98
532 100: 6(float) CompositeExtract 99 0
533 102: 86 Load 101(g_tTex2df2)
534 103: 90 Load 92(g_sSamp)
535 104: 94 SampledImage 102 103
536 105: 7(fvec4) ImageSampleImplicitLod 104 98
537 106: 6(float) CompositeExtract 105 0
538 107: 6(float) CompositeExtract 105 1
539 108: 73(fvec2) CompositeConstruct 106 107
540 110: 86 Load 109(g_tTex2df3)
541 111: 90 Load 92(g_sSamp)
542 112: 94 SampledImage 110 111
543 113: 7(fvec4) ImageSampleImplicitLod 112 98
544 114: 6(float) CompositeExtract 113 0
545 115: 6(float) CompositeExtract 113 1
546 116: 6(float) CompositeExtract 113 2
547 117: 79(fvec3) CompositeConstruct 114 115 116
548 119: 86 Load 118(g_tTex2df4)
549 120: 90 Load 92(g_sSamp)
550 121: 94 SampledImage 119 120
551 122: 7(fvec4) ImageSampleImplicitLod 121 98