aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/hlsl.matpack-pragma-global.frag.out
blob: 2feef9e9253d449df82bd169593ea47939466cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
hlsl.matpack-pragma-global.frag
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:6  Function Definition: @main( ( temp 4-component vector of float)
0:6    Function Parameters: 
0:?     Sequence
0:7      Branch: Return with expression
0:7        direct index ( temp 4-component vector of float)
0:7          g_GlobalMat1: direct index for structure ( uniform 4X4 matrix of float)
0:7            'anon@0' (layout( column_major std140) uniform block{ uniform 4X4 matrix of float g_GlobalMat1})
0:7            Constant:
0:7              0 (const uint)
0:7          Constant:
0:7            0 (const int)
0:6  Function Definition: main( ( temp void)
0:6    Function Parameters: 
0:?     Sequence
0:6      move second child to first child ( temp 4-component vector of float)
0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:6        Function Call: @main( ( temp 4-component vector of float)
0:?   Linker Objects
0:?     'anon@0' (layout( column_major std140) uniform block{ uniform 4X4 matrix of float g_GlobalMat1})
0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)


Linked fragment stage:


Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:6  Function Definition: @main( ( temp 4-component vector of float)
0:6    Function Parameters: 
0:?     Sequence
0:7      Branch: Return with expression
0:7        direct index ( temp 4-component vector of float)
0:7          g_GlobalMat1: direct index for structure ( uniform 4X4 matrix of float)
0:7            'anon@0' (layout( column_major std140) uniform block{ uniform 4X4 matrix of float g_GlobalMat1})
0:7            Constant:
0:7              0 (const uint)
0:7          Constant:
0:7            0 (const int)
0:6  Function Definition: main( ( temp void)
0:6    Function Parameters: 
0:?     Sequence
0:6      move second child to first child ( temp 4-component vector of float)
0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:6        Function Call: @main( ( temp 4-component vector of float)
0:?   Linker Objects
0:?     'anon@0' (layout( column_major std140) uniform block{ uniform 4X4 matrix of float g_GlobalMat1})
0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)

// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 25

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 23
                              ExecutionMode 4 OriginUpperLeft
                              Source HLSL 500
                              Name 4  "main"
                              Name 9  "@main("
                              Name 12  "$Global"
                              MemberName 12($Global) 0  "g_GlobalMat1"
                              Name 14  ""
                              Name 23  "@entryPointOutput"
                              MemberDecorate 12($Global) 0 ColMajor
                              MemberDecorate 12($Global) 0 Offset 0
                              MemberDecorate 12($Global) 0 MatrixStride 16
                              Decorate 12($Global) Block
                              Decorate 14 DescriptorSet 0
                              Decorate 14 Binding 0
                              Decorate 23(@entryPointOutput) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypeFunction 7(fvec4)
              11:             TypeMatrix 7(fvec4) 4
     12($Global):             TypeStruct 11
              13:             TypePointer Uniform 12($Global)
              14:     13(ptr) Variable Uniform
              15:             TypeInt 32 1
              16:     15(int) Constant 0
              17:             TypePointer Uniform 7(fvec4)
              22:             TypePointer Output 7(fvec4)
23(@entryPointOutput):     22(ptr) Variable Output
         4(main):           2 Function None 3
               5:             Label
              24:    7(fvec4) FunctionCall 9(@main()
                              Store 23(@entryPointOutput) 24
                              Return
                              FunctionEnd
       9(@main():    7(fvec4) Function None 8
              10:             Label
              18:     17(ptr) AccessChain 14 16 16
              19:    7(fvec4) Load 18
                              ReturnValue 19
                              FunctionEnd