1hlsl.matpack-pragma-global.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:6  Function Definition: @main( ( temp 4-component vector of float)
60:6    Function Parameters:
70:?     Sequence
80:7      Branch: Return with expression
90:7        direct index ( temp 4-component vector of float)
100:7          g_GlobalMat1: direct index for structure ( uniform 4X4 matrix of float)
110:7            'anon@0' (layout( column_major std140) uniform block{ uniform 4X4 matrix of float g_GlobalMat1})
120:7            Constant:
130:7              0 (const uint)
140:7          Constant:
150:7            0 (const int)
160:6  Function Definition: main( ( temp void)
170:6    Function Parameters:
180:?     Sequence
190:6      move second child to first child ( temp 4-component vector of float)
200:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
210:6        Function Call: @main( ( temp 4-component vector of float)
220:?   Linker Objects
230:?     'anon@0' (layout( column_major std140) uniform block{ uniform 4X4 matrix of float g_GlobalMat1})
240:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
25
26
27Linked fragment stage:
28
29
30Shader version: 500
31gl_FragCoord origin is upper left
320:? Sequence
330:6  Function Definition: @main( ( temp 4-component vector of float)
340:6    Function Parameters:
350:?     Sequence
360:7      Branch: Return with expression
370:7        direct index ( temp 4-component vector of float)
380:7          g_GlobalMat1: direct index for structure ( uniform 4X4 matrix of float)
390:7            'anon@0' (layout( column_major std140) uniform block{ uniform 4X4 matrix of float g_GlobalMat1})
400:7            Constant:
410:7              0 (const uint)
420:7          Constant:
430:7            0 (const int)
440:6  Function Definition: main( ( temp void)
450:6    Function Parameters:
460:?     Sequence
470:6      move second child to first child ( temp 4-component vector of float)
480:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
490:6        Function Call: @main( ( temp 4-component vector of float)
500:?   Linker Objects
510:?     'anon@0' (layout( column_major std140) uniform block{ uniform 4X4 matrix of float g_GlobalMat1})
520:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
53
54// Module Version 10000
55// Generated by (magic number): 8000a
56// Id's are bound by 25
57
58                              Capability Shader
59               1:             ExtInstImport  "GLSL.std.450"
60                              MemoryModel Logical GLSL450
61                              EntryPoint Fragment 4  "main" 23
62                              ExecutionMode 4 OriginUpperLeft
63                              Source HLSL 500
64                              Name 4  "main"
65                              Name 9  "@main("
66                              Name 12  "$Global"
67                              MemberName 12($Global) 0  "g_GlobalMat1"
68                              Name 14  ""
69                              Name 23  "@entryPointOutput"
70                              MemberDecorate 12($Global) 0 ColMajor
71                              MemberDecorate 12($Global) 0 Offset 0
72                              MemberDecorate 12($Global) 0 MatrixStride 16
73                              Decorate 12($Global) Block
74                              Decorate 14 DescriptorSet 0
75                              Decorate 14 Binding 0
76                              Decorate 23(@entryPointOutput) Location 0
77               2:             TypeVoid
78               3:             TypeFunction 2
79               6:             TypeFloat 32
80               7:             TypeVector 6(float) 4
81               8:             TypeFunction 7(fvec4)
82              11:             TypeMatrix 7(fvec4) 4
83     12($Global):             TypeStruct 11
84              13:             TypePointer Uniform 12($Global)
85              14:     13(ptr) Variable Uniform
86              15:             TypeInt 32 1
87              16:     15(int) Constant 0
88              17:             TypePointer Uniform 7(fvec4)
89              22:             TypePointer Output 7(fvec4)
9023(@entryPointOutput):     22(ptr) Variable Output
91         4(main):           2 Function None 3
92               5:             Label
93              24:    7(fvec4) FunctionCall 9(@main()
94                              Store 23(@entryPointOutput) 24
95                              Return
96                              FunctionEnd
97       9(@main():    7(fvec4) Function None 8
98              10:             Label
99              18:     17(ptr) AccessChain 14 16 16
100              19:    7(fvec4) Load 18
101                              ReturnValue 19
102                              FunctionEnd
103