1 hlsl.flattenOpaqueInitMix.vert 2 WARNING: AST will form illegal SPIR-V; need to transform to legalize 3 Shader version: 500 4 0:? Sequence 5 0:5 Function Definition: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float) 6 0:5 Function Parameters: 7 0:5 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f}) 8 0:? Sequence 9 0:6 Branch: Return with expression 10 0:6 texture ( temp 4-component vector of float) 11 0:6 Construct combined texture-sampler ( temp sampler2D) 12 0:6 tex: direct index for structure ( temp texture2D) 13 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f}) 14 0:6 Constant: 15 0:6 1 (const int) 16 0:6 smpl: direct index for structure ( temp sampler) 17 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f}) 18 0:6 Constant: 19 0:6 0 (const int) 20 0:? Construct vec2 ( temp 2-component vector of float) 21 0:6 f: direct index for structure ( temp float) 22 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f}) 23 0:6 Constant: 24 0:6 2 (const int) 25 0:6 f: direct index for structure ( temp float) 26 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f}) 27 0:6 Constant: 28 0:6 2 (const int) 29 0:10 Function Definition: @main( ( temp 4-component vector of float) 30 0:10 Function Parameters: 31 0:? Sequence 32 0:11 Sequence 33 0:11 move second child to first child ( temp structure{ temp sampler smpl, temp texture2D tex, temp float f}) 34 0:11 'tex' ( temp structure{ temp sampler smpl, temp texture2D tex, temp float f}) 35 0:11 Construct structure ( temp structure{ temp sampler smpl, temp texture2D tex, temp float f}) 36 0:11 'g_tInputTexture_sampler' ( uniform sampler) 37 0:11 'g_tInputTexture' ( uniform texture2D) 38 0:11 Constant: 39 0:11 0.500000 40 0:12 Branch: Return with expression 41 0:12 Function Call: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float) 42 0:12 'tex' ( temp structure{ temp sampler smpl, temp texture2D tex, temp float f}) 43 0:10 Function Definition: main( ( temp void) 44 0:10 Function Parameters: 45 0:? Sequence 46 0:10 move second child to first child ( temp 4-component vector of float) 47 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 48 0:10 Function Call: @main( ( temp 4-component vector of float) 49 0:? Linker Objects 50 0:? 'g_tInputTexture_sampler' ( uniform sampler) 51 0:? 'g_tInputTexture' ( uniform texture2D) 52 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 53 54 55 Linked vertex stage: 56 57 58 Shader version: 500 59 0:? Sequence 60 0:5 Function Definition: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float) 61 0:5 Function Parameters: 62 0:5 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f}) 63 0:? Sequence 64 0:6 Branch: Return with expression 65 0:6 texture ( temp 4-component vector of float) 66 0:6 Construct combined texture-sampler ( temp sampler2D) 67 0:6 tex: direct index for structure ( temp texture2D) 68 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f}) 69 0:6 Constant: 70 0:6 1 (const int) 71 0:6 smpl: direct index for structure ( temp sampler) 72 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f}) 73 0:6 Constant: 74 0:6 0 (const int) 75 0:? Construct vec2 ( temp 2-component vector of float) 76 0:6 f: direct index for structure ( temp float) 77 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f}) 78 0:6 Constant: 79 0:6 2 (const int) 80 0:6 f: direct index for structure ( temp float) 81 0:6 'tex' ( in structure{ temp sampler smpl, temp texture2D tex, temp float f}) 82 0:6 Constant: 83 0:6 2 (const int) 84 0:10 Function Definition: @main( ( temp 4-component vector of float) 85 0:10 Function Parameters: 86 0:? Sequence 87 0:11 Sequence 88 0:11 move second child to first child ( temp structure{ temp sampler smpl, temp texture2D tex, temp float f}) 89 0:11 'tex' ( temp structure{ temp sampler smpl, temp texture2D tex, temp float f}) 90 0:11 Construct structure ( temp structure{ temp sampler smpl, temp texture2D tex, temp float f}) 91 0:11 'g_tInputTexture_sampler' ( uniform sampler) 92 0:11 'g_tInputTexture' ( uniform texture2D) 93 0:11 Constant: 94 0:11 0.500000 95 0:12 Branch: Return with expression 96 0:12 Function Call: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float) 97 0:12 'tex' ( temp structure{ temp sampler smpl, temp texture2D tex, temp float f}) 98 0:10 Function Definition: main( ( temp void) 99 0:10 Function Parameters: 100 0:? Sequence 101 0:10 move second child to first child ( temp 4-component vector of float) 102 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 103 0:10 Function Call: @main( ( temp 4-component vector of float) 104 0:? Linker Objects 105 0:? 'g_tInputTexture_sampler' ( uniform sampler) 106 0:? 'g_tInputTexture' ( uniform texture2D) 107 0:? '@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 44(g_tInputTexture_sampler) Binding 0 133 Decorate 47(g_tInputTexture) DescriptorSet 0 134 Decorate 47(g_tInputTexture) Binding 0 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 157 44(g_tInputTexture_sampler): 43(ptr) Variable UniformConstant 158 46: TypePointer UniformConstant 8 159 47(g_tInputTexture): 46(ptr) Variable UniformConstant 160 49: 7(float) Constant 1056964608 161 56: TypePointer Output 11(fvec4) 162 57(@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 169 14(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