File: hlsl.constructexpr.frag.out

package info (click to toggle)
glslang 16.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 51,720 kB
  • sloc: cpp: 92,305; yacc: 4,320; sh: 603; python: 305; ansic: 94; javascript: 74; makefile: 17
file content (164 lines) | stat: -rw-r--r-- 6,561 bytes parent folder | download | duplicates (8)
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
hlsl.constructexpr.frag
Shader version: 500
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:12        Constant:
0:12          9.000000
0:12          10.000000
0:12        Constant:
0:12          11.000000
0:12          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      Branch: Return with expression
0:16        'ps_output' ( temp structure{ temp 4-component vector of float color})
0:4  Function Definition: main( ( temp void)
0:4    Function Parameters: 
0:?     Sequence
0:4      Sequence
0:4        move second child to first child ( temp 4-component vector of float)
0:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
0:4          color: direct index for structure ( temp 4-component vector of float)
0:4            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
0:4            Constant:
0:4              0 (const int)
0:?   Linker Objects
0:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)


Linked fragment stage:


Shader version: 500
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:12        Constant:
0:12          9.000000
0:12          10.000000
0:12        Constant:
0:12          11.000000
0:12          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      Branch: Return with expression
0:16        'ps_output' ( temp structure{ temp 4-component vector of float color})
0:4  Function Definition: main( ( temp void)
0:4    Function Parameters: 
0:?     Sequence
0:4      Sequence
0:4        move second child to first child ( temp 4-component vector of float)
0:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
0:4          color: direct index for structure ( temp 4-component vector of float)
0:4            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
0:4            Constant:
0:4              0 (const int)
0:?   Linker Objects
0:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)

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

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