1hlsl.mip.operator.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:5  Function Definition: @main( ( temp 4-component vector of float)
60:5    Function Parameters:
70:?     Sequence
80:13      Branch: Return with expression
90:9        add ( temp 4-component vector of float)
100:6          add ( temp 4-component vector of float)
110:?             textureFetch ( temp 4-component vector of float)
120:6              'g_tTex2df4' ( uniform texture2D)
130:?               Constant:
140:?                 3 (const uint)
150:?                 4 (const uint)
160:6              Constant:
170:6                2 (const int)
180:?             textureFetch ( temp 4-component vector of float)
190:9              'g_tTex2df4a' ( uniform texture2DArray)
200:?               Constant:
210:?                 6 (const uint)
220:?                 7 (const uint)
230:?                 8 (const uint)
240:9              Constant:
250:9                5 (const uint)
260:13          textureFetch ( temp 4-component vector of float)
270:13            'g_tTex2df4' ( uniform texture2D)
280:13            Convert float to uint ( temp 2-component vector of uint)
290:13              vector swizzle ( temp 2-component vector of float)
300:?                 textureFetch ( temp 4-component vector of float)
310:13                  'g_tTex2df4' ( uniform texture2D)
320:?                   Constant:
330:?                     14 (const uint)
340:?                     15 (const uint)
350:13                  Constant:
360:13                    13 (const int)
370:13                Sequence
380:13                  Constant:
390:13                    0 (const int)
400:13                  Constant:
410:13                    1 (const int)
420:13            Convert float to uint ( temp uint)
430:13              direct index ( temp float)
440:?                 textureFetch ( temp 4-component vector of float)
450:13                  'g_tTex2df4' ( uniform texture2D)
460:?                   Constant:
470:?                     10 (const uint)
480:?                     11 (const uint)
490:13                  Constant:
500:13                    9 (const int)
510:13                Constant:
520:13                  0 (const int)
530:5  Function Definition: main( ( temp void)
540:5    Function Parameters:
550:?     Sequence
560:5      move second child to first child ( temp 4-component vector of float)
570:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
580:5        Function Call: @main( ( temp 4-component vector of float)
590:?   Linker Objects
600:?     'g_tTex2df4a' ( uniform texture2DArray)
610:?     'g_tTex2df4' ( uniform texture2D)
620:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
63
64
65Linked fragment stage:
66
67
68Shader version: 500
69gl_FragCoord origin is upper left
700:? Sequence
710:5  Function Definition: @main( ( temp 4-component vector of float)
720:5    Function Parameters:
730:?     Sequence
740:13      Branch: Return with expression
750:9        add ( temp 4-component vector of float)
760:6          add ( temp 4-component vector of float)
770:?             textureFetch ( temp 4-component vector of float)
780:6              'g_tTex2df4' ( uniform texture2D)
790:?               Constant:
800:?                 3 (const uint)
810:?                 4 (const uint)
820:6              Constant:
830:6                2 (const int)
840:?             textureFetch ( temp 4-component vector of float)
850:9              'g_tTex2df4a' ( uniform texture2DArray)
860:?               Constant:
870:?                 6 (const uint)
880:?                 7 (const uint)
890:?                 8 (const uint)
900:9              Constant:
910:9                5 (const uint)
920:13          textureFetch ( temp 4-component vector of float)
930:13            'g_tTex2df4' ( uniform texture2D)
940:13            Convert float to uint ( temp 2-component vector of uint)
950:13              vector swizzle ( temp 2-component vector of float)
960:?                 textureFetch ( temp 4-component vector of float)
970:13                  'g_tTex2df4' ( uniform texture2D)
980:?                   Constant:
990:?                     14 (const uint)
1000:?                     15 (const uint)
1010:13                  Constant:
1020:13                    13 (const int)
1030:13                Sequence
1040:13                  Constant:
1050:13                    0 (const int)
1060:13                  Constant:
1070:13                    1 (const int)
1080:13            Convert float to uint ( temp uint)
1090:13              direct index ( temp float)
1100:?                 textureFetch ( temp 4-component vector of float)
1110:13                  'g_tTex2df4' ( uniform texture2D)
1120:?                   Constant:
1130:?                     10 (const uint)
1140:?                     11 (const uint)
1150:13                  Constant:
1160:13                    9 (const int)
1170:13                Constant:
1180:13                  0 (const int)
1190:5  Function Definition: main( ( temp void)
1200:5    Function Parameters:
1210:?     Sequence
1220:5      move second child to first child ( temp 4-component vector of float)
1230:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1240:5        Function Call: @main( ( temp 4-component vector of float)
1250:?   Linker Objects
1260:?     'g_tTex2df4a' ( uniform texture2DArray)
1270:?     'g_tTex2df4' ( uniform texture2D)
1280:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
129
130// Module Version 10000
131// Generated by (magic number): 80007
132// Id's are bound by 61
133
134                              Capability Shader
135               1:             ExtInstImport  "GLSL.std.450"
136                              MemoryModel Logical GLSL450
137                              EntryPoint Fragment 4  "main" 59
138                              ExecutionMode 4 OriginUpperLeft
139                              Source HLSL 500
140                              Name 4  "main"
141                              Name 9  "@main("
142                              Name 13  "g_tTex2df4"
143                              Name 25  "g_tTex2df4a"
144                              Name 59  "@entryPointOutput"
145                              Decorate 13(g_tTex2df4) DescriptorSet 0
146                              Decorate 25(g_tTex2df4a) DescriptorSet 0
147                              Decorate 59(@entryPointOutput) Location 0
148               2:             TypeVoid
149               3:             TypeFunction 2
150               6:             TypeFloat 32
151               7:             TypeVector 6(float) 4
152               8:             TypeFunction 7(fvec4)
153              11:             TypeImage 6(float) 2D sampled format:Unknown
154              12:             TypePointer UniformConstant 11
155  13(g_tTex2df4):     12(ptr) Variable UniformConstant
156              15:             TypeInt 32 0
157              16:             TypeVector 15(int) 2
158              17:     15(int) Constant 3
159              18:     15(int) Constant 4
160              19:   16(ivec2) ConstantComposite 17 18
161              20:             TypeInt 32 1
162              21:     20(int) Constant 2
163              23:             TypeImage 6(float) 2D array sampled format:Unknown
164              24:             TypePointer UniformConstant 23
165 25(g_tTex2df4a):     24(ptr) Variable UniformConstant
166              27:             TypeVector 15(int) 3
167              28:     15(int) Constant 6
168              29:     15(int) Constant 7
169              30:     15(int) Constant 8
170              31:   27(ivec3) ConstantComposite 28 29 30
171              32:     15(int) Constant 5
172              37:     15(int) Constant 14
173              38:     15(int) Constant 15
174              39:   16(ivec2) ConstantComposite 37 38
175              40:     20(int) Constant 13
176              42:             TypeVector 6(float) 2
177              46:     15(int) Constant 10
178              47:     15(int) Constant 11
179              48:   16(ivec2) ConstantComposite 46 47
180              49:     20(int) Constant 9
181              51:     15(int) Constant 0
182              58:             TypePointer Output 7(fvec4)
18359(@entryPointOutput):     58(ptr) Variable Output
184         4(main):           2 Function None 3
185               5:             Label
186              60:    7(fvec4) FunctionCall 9(@main()
187                              Store 59(@entryPointOutput) 60
188                              Return
189                              FunctionEnd
190       9(@main():    7(fvec4) Function None 8
191              10:             Label
192              14:          11 Load 13(g_tTex2df4)
193              22:    7(fvec4) ImageFetch 14 19 Lod 21
194              26:          23 Load 25(g_tTex2df4a)
195              33:    7(fvec4) ImageFetch 26 31 Lod 32
196              34:    7(fvec4) FAdd 22 33
197              35:          11 Load 13(g_tTex2df4)
198              36:          11 Load 13(g_tTex2df4)
199              41:    7(fvec4) ImageFetch 36 39 Lod 40
200              43:   42(fvec2) VectorShuffle 41 41 0 1
201              44:   16(ivec2) ConvertFToU 43
202              45:          11 Load 13(g_tTex2df4)
203              50:    7(fvec4) ImageFetch 45 48 Lod 49
204              52:    6(float) CompositeExtract 50 0
205              53:     15(int) ConvertFToU 52
206              54:    7(fvec4) ImageFetch 35 44 Lod 53
207              55:    7(fvec4) FAdd 34 54
208                              ReturnValue 55
209                              FunctionEnd
210