hlsl.flattenOpaqueInitMix.vert
Shader version: 500
0:? Sequence
0:5  Function Definition: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
0:5    Function Parameters: 
0:?       'smpl' ( in sampler)
0:?       'tex' ( in texture2D)
0:?       'f' ( in float)
0:?     Sequence
0:6      Branch: Return with expression
0:6        texture ( temp 4-component vector of float)
0:6          Construct combined texture-sampler ( temp sampler2D)
0:?             'tex' ( in texture2D)
0:?             'smpl' ( in sampler)
0:?           Construct vec2 ( temp 2-component vector of float)
0:?             'f' ( in float)
0:?             'f' ( in float)
0:10  Function Definition: @main( ( temp 4-component vector of float)
0:10    Function Parameters: 
0:?     Sequence
0:11      Sequence
0:?         Sequence
0:11          move second child to first child ( temp float)
0:?             'f' ( temp float)
0:11            Constant:
0:11              0.500000
0:12      Branch: Return with expression
0:12        Function Call: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
0:?           'g_tInputTexture_sampler' ( uniform sampler)
0:?           'g_tInputTexture' ( uniform texture2D)
0:?           'f' ( temp float)
0:10  Function Definition: main( ( temp void)
0:10    Function Parameters: 
0:?     Sequence
0:10      move second child to first child ( temp 4-component vector of float)
0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:10        Function Call: @main( ( temp 4-component vector of float)
0:?   Linker Objects
0:?     'g_tInputTexture_sampler' ( uniform sampler)
0:?     'g_tInputTexture' ( uniform texture2D)
0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)


Linked vertex stage:


Shader version: 500
0:? Sequence
0:5  Function Definition: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
0:5    Function Parameters: 
0:?       'smpl' ( in sampler)
0:?       'tex' ( in texture2D)
0:?       'f' ( in float)
0:?     Sequence
0:6      Branch: Return with expression
0:6        texture ( temp 4-component vector of float)
0:6          Construct combined texture-sampler ( temp sampler2D)
0:?             'tex' ( in texture2D)
0:?             'smpl' ( in sampler)
0:?           Construct vec2 ( temp 2-component vector of float)
0:?             'f' ( in float)
0:?             'f' ( in float)
0:10  Function Definition: @main( ( temp 4-component vector of float)
0:10    Function Parameters: 
0:?     Sequence
0:11      Sequence
0:?         Sequence
0:11          move second child to first child ( temp float)
0:?             'f' ( temp float)
0:11            Constant:
0:11              0.500000
0:12      Branch: Return with expression
0:12        Function Call: lookUp(struct-FxaaTex-p1-t21-f11; ( temp 4-component vector of float)
0:?           'g_tInputTexture_sampler' ( uniform sampler)
0:?           'g_tInputTexture' ( uniform texture2D)
0:?           'f' ( temp float)
0:10  Function Definition: main( ( temp void)
0:10    Function Parameters: 
0:?     Sequence
0:10      move second child to first child ( temp 4-component vector of float)
0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:10        Function Call: @main( ( temp 4-component vector of float)
0:?   Linker Objects
0:?     'g_tInputTexture_sampler' ( uniform sampler)
0:?     'g_tInputTexture' ( uniform texture2D)
0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)

// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 46

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Vertex 4  "main" 44
                              Source HLSL 500
                              Name 4  "main"
                              Name 17  "lookUp(struct-FxaaTex-p1-t21-f11;"
                              Name 14  "smpl"
                              Name 15  "tex"
                              Name 16  "f"
                              Name 20  "@main("
                              Name 34  "f"
                              Name 36  "g_tInputTexture_sampler"
                              Name 37  "g_tInputTexture"
                              Name 38  "param"
                              Name 44  "@entryPointOutput"
                              Decorate 36(g_tInputTexture_sampler) DescriptorSet 0
                              Decorate 37(g_tInputTexture) DescriptorSet 0
                              Decorate 44(@entryPointOutput) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeSampler
               7:             TypePointer UniformConstant 6
               8:             TypeFloat 32
               9:             TypeImage 8(float) 2D sampled format:Unknown
              10:             TypePointer UniformConstant 9
              11:             TypePointer Function 8(float)
              12:             TypeVector 8(float) 4
              13:             TypeFunction 12(fvec4) 7(ptr) 10(ptr) 11(ptr)
              19:             TypeFunction 12(fvec4)
              24:             TypeSampledImage 9
              28:             TypeVector 8(float) 2
              30:    8(float) Constant 0
              35:    8(float) Constant 1056964608
36(g_tInputTexture_sampler):      7(ptr) Variable UniformConstant
37(g_tInputTexture):     10(ptr) Variable UniformConstant
              43:             TypePointer Output 12(fvec4)
44(@entryPointOutput):     43(ptr) Variable Output
         4(main):           2 Function None 3
               5:             Label
              45:   12(fvec4) FunctionCall 20(@main()
                              Store 44(@entryPointOutput) 45
                              Return
                              FunctionEnd
17(lookUp(struct-FxaaTex-p1-t21-f11;):   12(fvec4) Function None 13
        14(smpl):      7(ptr) FunctionParameter
         15(tex):     10(ptr) FunctionParameter
           16(f):     11(ptr) FunctionParameter
              18:             Label
              22:           9 Load 15(tex)
              23:           6 Load 14(smpl)
              25:          24 SampledImage 22 23
              26:    8(float) Load 16(f)
              27:    8(float) Load 16(f)
              29:   28(fvec2) CompositeConstruct 26 27
              31:   12(fvec4) ImageSampleExplicitLod 25 29 Lod 30
                              ReturnValue 31
                              FunctionEnd
      20(@main():   12(fvec4) Function None 19
              21:             Label
           34(f):     11(ptr) Variable Function
       38(param):     11(ptr) Variable Function
                              Store 34(f) 35
              39:    8(float) Load 34(f)
                              Store 38(param) 39
              40:   12(fvec4) FunctionCall 17(lookUp(struct-FxaaTex-p1-t21-f11;) 36(g_tInputTexture_sampler) 37(g_tInputTexture) 38(param)
                              ReturnValue 40
                              FunctionEnd
