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:6 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:6 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): 8000a 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 44(g_tInputTexture_sampler) Binding 0 133 Decorate 47(g_tInputTexture) DescriptorSet 0 134 Decorate 47(g_tInputTexture) Binding 1 135 Decorate 57(@entryPointOutput) Location 0 136 2: TypeVoid 137 3: TypeFunction 2 138 6: TypeSampler 139 7: TypeFloat 32 140 8: TypeImage 7(float) 2D sampled format:Unknown 141 9(FxaaTex): TypeStruct 6 8 7(float) 142 10: TypePointer Function 9(FxaaTex) 143 11: TypeVector 7(float) 4 144 12: TypeFunction 11(fvec4) 10(ptr) 145 16: TypeFunction 11(fvec4) 146 19: TypeInt 32 1 147 20: 19(int) Constant 1 148 21: TypePointer Function 8 149 24: 19(int) Constant 0 150 25: TypePointer Function 6 151 28: TypeSampledImage 8 152 30: 19(int) Constant 2 153 31: TypePointer Function 7(float) 154 36: TypeVector 7(float) 2 155 38: 7(float) Constant 0 156 43: TypePointer UniformConstant 6 15744(g_tInputTexture_sampler): 43(ptr) Variable UniformConstant 158 46: TypePointer UniformConstant 8 15947(g_tInputTexture): 46(ptr) Variable UniformConstant 160 49: 7(float) Constant 1056964608 161 56: TypePointer Output 11(fvec4) 16257(@entryPointOutput): 56(ptr) Variable Output 163 4(main): 2 Function None 3 164 5: Label 165 58: 11(fvec4) FunctionCall 17(@main() 166 Store 57(@entryPointOutput) 58 167 Return 168 FunctionEnd 16914(lookUp(struct-FxaaTex-p1-t21-f11;): 11(fvec4) Function None 12 170 13(tex): 10(ptr) FunctionParameter 171 15: Label 172 22: 21(ptr) AccessChain 13(tex) 20 173 23: 8 Load 22 174 26: 25(ptr) AccessChain 13(tex) 24 175 27: 6 Load 26 176 29: 28 SampledImage 23 27 177 32: 31(ptr) AccessChain 13(tex) 30 178 33: 7(float) Load 32 179 34: 31(ptr) AccessChain 13(tex) 30 180 35: 7(float) Load 34 181 37: 36(fvec2) CompositeConstruct 33 35 182 39: 11(fvec4) ImageSampleExplicitLod 29 37 Lod 38 183 ReturnValue 39 184 FunctionEnd 185 17(@main(): 11(fvec4) Function None 16 186 18: Label 187 42(tex): 10(ptr) Variable Function 188 51(param): 10(ptr) Variable Function 189 45: 6 Load 44(g_tInputTexture_sampler) 190 48: 8 Load 47(g_tInputTexture) 191 50: 9(FxaaTex) CompositeConstruct 45 48 49 192 Store 42(tex) 50 193 52: 9(FxaaTex) Load 42(tex) 194 Store 51(param) 52 195 53: 11(fvec4) FunctionCall 14(lookUp(struct-FxaaTex-p1-t21-f11;) 51(param) 196 ReturnValue 53 197 FunctionEnd 198