hlsl.constructexpr.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:4  Function Definition: main( (temp structure{temp 4-component vector of float color})
0:4    Function Parameters: 
0:?     Sequence
0:6      Constant:
0:6        3 (const int)
0:7      Constant:
0:7        4 (const int)
0:8      Constant:
0:8        5 (const int)
0:9      Constant:
0:9        6 (const int)
0:10      Constant:
0:10        7 (const int)
0:11      Constant:
0:11        8 (const int)
0:12      Comma (temp 2-component vector of float)
0:?         Constant:
0:?           9.000000
0:?           10.000000
0:?         Constant:
0:?           11.000000
0:?           12.000000
0:15      move second child to first child (temp 4-component vector of float)
0:15        color: direct index for structure (temp 4-component vector of float)
0:15          'ps_output' (temp structure{temp 4-component vector of float color})
0:15          Constant:
0:15            0 (const int)
0:15        Constant:
0:15          1.000000
0:15          1.000000
0:15          1.000000
0:15          1.000000
0:16      Sequence
0:16        Sequence
0:16          move second child to first child (temp 4-component vector of float)
0:?             'color' (layout(location=0 ) out 4-component vector of float)
0:16            color: direct index for structure (temp 4-component vector of float)
0:16              'ps_output' (temp structure{temp 4-component vector of float color})
0:16              Constant:
0:16                0 (const int)
0:16        Branch: Return
0:?   Linker Objects
0:?     'color' (layout(location=0 ) out 4-component vector of float)


Linked fragment stage:


Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:4  Function Definition: main( (temp structure{temp 4-component vector of float color})
0:4    Function Parameters: 
0:?     Sequence
0:6      Constant:
0:6        3 (const int)
0:7      Constant:
0:7        4 (const int)
0:8      Constant:
0:8        5 (const int)
0:9      Constant:
0:9        6 (const int)
0:10      Constant:
0:10        7 (const int)
0:11      Constant:
0:11        8 (const int)
0:12      Comma (temp 2-component vector of float)
0:?         Constant:
0:?           9.000000
0:?           10.000000
0:?         Constant:
0:?           11.000000
0:?           12.000000
0:15      move second child to first child (temp 4-component vector of float)
0:15        color: direct index for structure (temp 4-component vector of float)
0:15          'ps_output' (temp structure{temp 4-component vector of float color})
0:15          Constant:
0:15            0 (const int)
0:15        Constant:
0:15          1.000000
0:15          1.000000
0:15          1.000000
0:15          1.000000
0:16      Sequence
0:16        Sequence
0:16          move second child to first child (temp 4-component vector of float)
0:?             'color' (layout(location=0 ) out 4-component vector of float)
0:16            color: direct index for structure (temp 4-component vector of float)
0:16              'ps_output' (temp structure{temp 4-component vector of float color})
0:16              Constant:
0:16                0 (const int)
0:16        Branch: Return
0:?   Linker Objects
0:?     'color' (layout(location=0 ) out 4-component vector of float)

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

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 31
                              ExecutionMode 4 OriginUpperLeft
                              Name 4  "main"
                              Name 22  "PS_OUTPUT"
                              MemberName 22(PS_OUTPUT) 0  "color"
                              Name 24  "ps_output"
                              Name 31  "color"
                              Decorate 31(color) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeInt 32 1
               7:      6(int) Constant 3
               8:      6(int) Constant 4
               9:      6(int) Constant 5
              10:      6(int) Constant 6
              11:      6(int) Constant 7
              12:      6(int) Constant 8
              13:             TypeFloat 32
              14:             TypeVector 13(float) 2
              15:   13(float) Constant 1091567616
              16:   13(float) Constant 1092616192
              17:   14(fvec2) ConstantComposite 15 16
              18:   13(float) Constant 1093664768
              19:   13(float) Constant 1094713344
              20:   14(fvec2) ConstantComposite 18 19
              21:             TypeVector 13(float) 4
   22(PS_OUTPUT):             TypeStruct 21(fvec4)
              23:             TypePointer Function 22(PS_OUTPUT)
              25:      6(int) Constant 0
              26:   13(float) Constant 1065353216
              27:   21(fvec4) ConstantComposite 26 26 26 26
              28:             TypePointer Function 21(fvec4)
              30:             TypePointer Output 21(fvec4)
       31(color):     30(ptr) Variable Output
         4(main):           2 Function None 3
               5:             Label
   24(ps_output):     23(ptr) Variable Function
              29:     28(ptr) AccessChain 24(ps_output) 25
                              Store 29 27
              32:     28(ptr) AccessChain 24(ps_output) 25
              33:   21(fvec4) Load 32
                              Store 31(color) 33
                              Return
                              FunctionEnd
