1hlsl.flattenOpaqueInitMix.vert
2WARNING: AST will form illegal SPIR-V; need to transform to legalize
3Shader version: 500
40:? Sequence
50:5  Function Definition: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
60:5    Function Parameters:
70:5      'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
80:?     Sequence
90:6      Branch: Return with expression
100:6        texture ( temp 4-component vector of float)
110:6          Construct combined texture-sampler ( temp sampler2D)
120:6            tex: direct index for structure ( temp texture2D)
130:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
140:6              Constant:
150:6                1 (const int)
160:6            smpl: direct index for structure ( temp sampler)
170:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
180:6              Constant:
190:6                0 (const int)
200:?           Construct vec2 ( temp 2-component vector of float)
210:6            f: direct index for structure ( temp float)
220:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
230:6              Constant:
240:6                2 (const int)
250:6            f: direct index for structure ( temp float)
260:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
270:6              Constant:
280:6                2 (const int)
290:10  Function Definition: @main( ( temp 4-component vector of float)
300:10    Function Parameters:
310:?     Sequence
320:11      Sequence
330:11        move second child to first child ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
340:11          'tex' ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
350:11          Construct structure ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
360:11            'g_tInputTexture_sampler' ( uniform sampler)
370:11            'g_tInputTexture' ( uniform texture2D)
380:11            Constant:
390:11              0.500000
400:12      Branch: Return with expression
410:12        Function Call: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
420:12          'tex' ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
430:10  Function Definition: main( ( temp void)
440:10    Function Parameters:
450:?     Sequence
460:10      move second child to first child ( temp 4-component vector of float)
470:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
480:10        Function Call: @main( ( temp 4-component vector of float)
490:?   Linker Objects
500:?     'g_tInputTexture_sampler' ( uniform sampler)
510:?     'g_tInputTexture' ( uniform texture2D)
520:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
53
54
55Linked vertex stage:
56
57
58Shader version: 500
590:? Sequence
600:5  Function Definition: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
610:5    Function Parameters:
620:5      'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
630:?     Sequence
640:6      Branch: Return with expression
650:6        texture ( temp 4-component vector of float)
660:6          Construct combined texture-sampler ( temp sampler2D)
670:6            tex: direct index for structure ( temp texture2D)
680:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
690:6              Constant:
700:6                1 (const int)
710:6            smpl: direct index for structure ( temp sampler)
720:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
730:6              Constant:
740:6                0 (const int)
750:?           Construct vec2 ( temp 2-component vector of float)
760:6            f: direct index for structure ( temp float)
770:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
780:6              Constant:
790:6                2 (const int)
800:6            f: direct index for structure ( temp float)
810:6              'tex' ( in structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
820:6              Constant:
830:6                2 (const int)
840:10  Function Definition: @main( ( temp 4-component vector of float)
850:10    Function Parameters:
860:?     Sequence
870:11      Sequence
880:11        move second child to first child ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
890:11          'tex' ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
900:11          Construct structure ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
910:11            'g_tInputTexture_sampler' ( uniform sampler)
920:11            'g_tInputTexture' ( uniform texture2D)
930:11            Constant:
940:11              0.500000
950:12      Branch: Return with expression
960:12        Function Call: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
970:12          'tex' ( temp structure{ temp sampler smpl,  temp texture2D tex,  temp float f})
980:10  Function Definition: main( ( temp void)
990:10    Function Parameters:
1000:?     Sequence
1010:10      move second child to first child ( temp 4-component vector of float)
1020:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1030:10        Function Call: @main( ( temp 4-component vector of float)
1040:?   Linker Objects
1050:?     'g_tInputTexture_sampler' ( uniform sampler)
1060:?     'g_tInputTexture' ( uniform texture2D)
1070:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
108
109// Module Version 10000
110// Generated by (magic number): 80007
111// Id's are bound by 59
112
113                              Capability Shader
114               1:             ExtInstImport  "GLSL.std.450"
115                              MemoryModel Logical GLSL450
116                              EntryPoint Vertex 4  "main" 57
117                              Source HLSL 500
118                              Name 4  "main"
119                              Name 9  "FxaaTex"
120                              MemberName 9(FxaaTex) 0  "smpl"
121                              MemberName 9(FxaaTex) 1  "tex"
122                              MemberName 9(FxaaTex) 2  "f"
123                              Name 14  "lookUp(struct-FxaaTex-p1-t21-f11;"
124                              Name 13  "tex"
125                              Name 17  "@main("
126                              Name 42  "tex"
127                              Name 44  "g_tInputTexture_sampler"
128                              Name 47  "g_tInputTexture"
129                              Name 51  "param"
130                              Name 57  "@entryPointOutput"
131                              Decorate 44(g_tInputTexture_sampler) DescriptorSet 0
132                              Decorate 47(g_tInputTexture) DescriptorSet 0
133                              Decorate 57(@entryPointOutput) Location 0
134               2:             TypeVoid
135               3:             TypeFunction 2
136               6:             TypeSampler
137               7:             TypeFloat 32
138               8:             TypeImage 7(float) 2D sampled format:Unknown
139      9(FxaaTex):             TypeStruct 6 8 7(float)
140              10:             TypePointer Function 9(FxaaTex)
141              11:             TypeVector 7(float) 4
142              12:             TypeFunction 11(fvec4) 10(ptr)
143              16:             TypeFunction 11(fvec4)
144              19:             TypeInt 32 1
145              20:     19(int) Constant 1
146              21:             TypePointer Function 8
147              24:     19(int) Constant 0
148              25:             TypePointer Function 6
149              28:             TypeSampledImage 8
150              30:     19(int) Constant 2
151              31:             TypePointer Function 7(float)
152              36:             TypeVector 7(float) 2
153              38:    7(float) Constant 0
154              43:             TypePointer UniformConstant 6
15544(g_tInputTexture_sampler):     43(ptr) Variable UniformConstant
156              46:             TypePointer UniformConstant 8
15747(g_tInputTexture):     46(ptr) Variable UniformConstant
158              49:    7(float) Constant 1056964608
159              56:             TypePointer Output 11(fvec4)
16057(@entryPointOutput):     56(ptr) Variable Output
161         4(main):           2 Function None 3
162               5:             Label
163              58:   11(fvec4) FunctionCall 17(@main()
164                              Store 57(@entryPointOutput) 58
165                              Return
166                              FunctionEnd
16714(lookUp(struct-FxaaTex-p1-t21-f11;):   11(fvec4) Function None 12
168         13(tex):     10(ptr) FunctionParameter
169              15:             Label
170              22:     21(ptr) AccessChain 13(tex) 20
171              23:           8 Load 22
172              26:     25(ptr) AccessChain 13(tex) 24
173              27:           6 Load 26
174              29:          28 SampledImage 23 27
175              32:     31(ptr) AccessChain 13(tex) 30
176              33:    7(float) Load 32
177              34:     31(ptr) AccessChain 13(tex) 30
178              35:    7(float) Load 34
179              37:   36(fvec2) CompositeConstruct 33 35
180              39:   11(fvec4) ImageSampleExplicitLod 29 37 Lod 38
181                              ReturnValue 39
182                              FunctionEnd
183      17(@main():   11(fvec4) Function None 16
184              18:             Label
185         42(tex):     10(ptr) Variable Function
186       51(param):     10(ptr) Variable Function
187              45:           6 Load 44(g_tInputTexture_sampler)
188              48:           8 Load 47(g_tInputTexture)
189              50:  9(FxaaTex) CompositeConstruct 45 48 49
190                              Store 42(tex) 50
191              52:  9(FxaaTex) Load 42(tex)
192                              Store 51(param) 52
193              53:   11(fvec4) FunctionCall 14(lookUp(struct-FxaaTex-p1-t21-f11;) 51(param)
194                              ReturnValue 53
195                              FunctionEnd
196