summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/glslang/Test/baseResults/140.vert.out
blob: e7f88e320750fa7512346f9c34d95fea9093a7c0 (plain) (blame)
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
140.vert
ERROR: 0:23: 'gl_Position' : identifiers starting with "gl_" are reserved 
ERROR: 0:25: 'location' : not supported for this version or the enabled extensions 
ERROR: 0:25: 'location qualifier on input' : not supported for this version or the enabled extensions 
ERROR: 0:34: 'redeclaration' : cannot change storage, memory, or auxiliary qualification of gl_Position
ERROR: 0:34: 'redeclaration' : cannot change interpolation qualification of gl_Position
ERROR: 0:35: 'redeclaration' : cannot change the type of gl_Position
ERROR: 0:38: 'gl_ClipVertex' : cannot redeclare after use 
ERROR: 0:39: 'gl_FogFragCoord' : cannot redeclare after use 
ERROR: 0:51: 'texelFetch' : no matching overloaded function found 
ERROR: 0:53: 'texture' : no matching overloaded function found 
ERROR: 10 compilation errors.  No code generated.


Shader version: 140
Requested GL_ARB_explicit_attrib_location
Requested GL_ARB_separate_shader_objects
ERROR: node is still EOpNull!
0:9  Function Definition: main( (global void)
0:9    Function Parameters: 
0:11    Sequence
0:11      Sequence
0:11        move second child to first child (temp int)
0:11          'id' (temp int)
0:11          'gl_InstanceID' (gl_InstanceId int InstanceId)
0:12      add second child into first child (temp int)
0:12        'id' (temp int)
0:12        anonMem: direct index for structure (layout(column_major std140 offset=0 ) uniform int)
0:12          'anon@0' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform int anonMem})
0:12          Constant:
0:12            0 (const uint)
0:13      add second child into first child (temp int)
0:13        'id' (temp int)
0:13        direct index (temp int)
0:13          textureFetch (global 4-component vector of int)
0:13            'sbuf' (uniform isamplerBuffer)
0:13            Constant:
0:13              8 (const int)
0:13          Constant:
0:13            3 (const int)
0:14      'gl_ClipVertex' (gl_ClipVertex 4-component vector of float ClipVertex)
0:15      'gl_Color' (in 4-component vector of float Color)
0:16      direct index (temp structure{global 4-component vector of float ambient, global 4-component vector of float diffuse, global 4-component vector of float specular, global 4-component vector of float position, global 4-component vector of float halfVector, global 3-component vector of float spotDirection, global float spotExponent, global float spotCutoff, global float spotCosCutoff, global float constantAttenuation, global float linearAttenuation, global float quadraticAttenuation})
0:16        'gl_LightSource' (uniform 32-element array of structure{global 4-component vector of float ambient, global 4-component vector of float diffuse, global 4-component vector of float specular, global 4-component vector of float position, global 4-component vector of float halfVector, global 3-component vector of float spotDirection, global float spotExponent, global float spotCutoff, global float spotCosCutoff, global float constantAttenuation, global float linearAttenuation, global float quadraticAttenuation})
0:16        Constant:
0:16          0 (const int)
0:17      far: direct index for structure (global float)
0:17        'gl_DepthRange' (uniform structure{global float near, global float far, global float diff})
0:17        Constant:
0:17          1 (const int)
0:18      'gl_TexCoord' (smooth out implicitly-sized array of 4-component vector of float TexCoord)
0:19      'gl_FogFragCoord' (smooth out float FogFragCoord)
0:20      'gl_FrontColor' (smooth out 4-component vector of float FrontColor)
0:48  Function Definition: foo( (global void)
0:48    Function Parameters: 
0:50    Sequence
0:50      Sequence
0:50        move second child to first child (temp 4-component vector of float)
0:50          'v' (temp 4-component vector of float)
0:50          textureFetch (global 4-component vector of float)
0:50            's2dr' (uniform sampler2DRect)
0:50            'itloc2' (in 2-component vector of int)
0:51      add second child into first child (temp 4-component vector of float)
0:51        'v' (temp 4-component vector of float)
0:51        Constant:
0:51          0.000000
0:52      add second child into first child (temp 4-component vector of float)
0:52        'v' (temp 4-component vector of float)
0:52        texture (global 4-component vector of float)
0:52          's2dr' (uniform sampler2DRect)
0:52          'tloc2' (in 2-component vector of float)
0:53      add second child into first child (temp 4-component vector of float)
0:53        'v' (temp 4-component vector of float)
0:53        Constant:
0:53          0.000000
0:54      add second child into first child (temp 4-component vector of float)
0:54        'v' (temp 4-component vector of float)
0:54        texture (global float)
0:54          's2drs' (uniform sampler2DRectShadow)
0:54          'tloc3' (in 3-component vector of float)
0:55      add second child into first child (temp 4-component vector of float)
0:55        'v' (temp 4-component vector of float)
0:55        textureProj (global 4-component vector of float)
0:55          's2dr' (uniform sampler2DRect)
0:55          'tloc3' (in 3-component vector of float)
0:56      add second child into first child (temp 4-component vector of float)
0:56        'v' (temp 4-component vector of float)
0:56        textureProj (global 4-component vector of float)
0:56          's2dr' (uniform sampler2DRect)
0:56          'tloc4' (in 4-component vector of float)
0:57      add second child into first child (temp 4-component vector of float)
0:57        'v' (temp 4-component vector of float)
0:57        textureProjGradOffset (global 4-component vector of float)
0:57          's2dr' (uniform sampler2DRect)
0:57          'tloc4' (in 4-component vector of float)
0:57          Constant:
0:57            0.000000
0:57            0.000000
0:57          Constant:
0:57            0.000000
0:57            0.000000
0:57          Constant:
0:57            1 (const int)
0:57            2 (const int)
0:58      add second child into first child (temp 4-component vector of float)
0:58        'v' (temp 4-component vector of float)
0:58        textureProjGradOffset (global float)
0:58          's2drs' (uniform sampler2DRectShadow)
0:58          'tloc4' (in 4-component vector of float)
0:58          Constant:
0:58            0.000000
0:58            0.000000
0:58          Constant:
0:58            0.000000
0:58            0.000000
0:58          Constant:
0:58            1 (const int)
0:58            2 (const int)
0:?   Linker Objects
0:?     'sbuf' (uniform isamplerBuffer)
0:?     'anon@0' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform int anonMem})
0:?     'gl_TexCoord' (smooth out implicitly-sized array of 4-component vector of float TexCoord)
0:?     'gl_Position' (smooth out 4-component vector of float)
0:?     'locBad' (layout(location=9 ) in 4-component vector of float)
0:?     'loc' (layout(location=9 ) in 4-component vector of float)
0:?     'gl_PointSize' (gl_PointSize float PointSize)
0:?     'gl_ClipVertex' (gl_ClipVertex 4-component vector of float ClipVertex)
0:?     'gl_FogFragCoord' (smooth out float FogFragCoord)
0:?     's2dr' (uniform sampler2DRect)
0:?     's2drs' (uniform sampler2DRectShadow)
0:?     'itloc2' (in 2-component vector of int)
0:?     'tloc2' (in 2-component vector of float)
0:?     'tloc3' (in 3-component vector of float)
0:?     'tloc4' (in 4-component vector of float)
0:?     'gl_VertexID' (gl_VertexId int VertexId)
0:?     'gl_InstanceID' (gl_InstanceId int InstanceId)


Linked vertex stage:


Shader version: 140
Requested GL_ARB_explicit_attrib_location
Requested GL_ARB_separate_shader_objects
ERROR: node is still EOpNull!
0:9  Function Definition: main( (global void)
0:9    Function Parameters: 
0:11    Sequence
0:11      Sequence
0:11        move second child to first child (temp int)
0:11          'id' (temp int)
0:11          'gl_InstanceID' (gl_InstanceId int InstanceId)
0:12      add second child into first child (temp int)
0:12        'id' (temp int)
0:12        anonMem: direct index for structure (layout(column_major std140 offset=0 ) uniform int)
0:12          'anon@0' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform int anonMem})
0:12          Constant:
0:12            0 (const uint)
0:13      add second child into first child (temp int)
0:13        'id' (temp int)
0:13        direct index (temp int)
0:13          textureFetch (global 4-component vector of int)
0:13            'sbuf' (uniform isamplerBuffer)
0:13            Constant:
0:13              8 (const int)
0:13          Constant:
0:13            3 (const int)
0:14      'gl_ClipVertex' (gl_ClipVertex 4-component vector of float ClipVertex)
0:15      'gl_Color' (in 4-component vector of float Color)
0:16      direct index (temp structure{global 4-component vector of float ambient, global 4-component vector of float diffuse, global 4-component vector of float specular, global 4-component vector of float position, global 4-component vector of float halfVector, global 3-component vector of float spotDirection, global float spotExponent, global float spotCutoff, global float spotCosCutoff, global float constantAttenuation, global float linearAttenuation, global float quadraticAttenuation})
0:16        'gl_LightSource' (uniform 32-element array of structure{global 4-component vector of float ambient, global 4-component vector of float diffuse, global 4-component vector of float specular, global 4-component vector of float position, global 4-component vector of float halfVector, global 3-component vector of float spotDirection, global float spotExponent, global float spotCutoff, global float spotCosCutoff, global float constantAttenuation, global float linearAttenuation, global float quadraticAttenuation})
0:16        Constant:
0:16          0 (const int)
0:17      far: direct index for structure (global float)
0:17        'gl_DepthRange' (uniform structure{global float near, global float far, global float diff})
0:17        Constant:
0:17          1 (const int)
0:18      'gl_TexCoord' (smooth out 1-element array of 4-component vector of float TexCoord)
0:19      'gl_FogFragCoord' (smooth out float FogFragCoord)
0:20      'gl_FrontColor' (smooth out 4-component vector of float FrontColor)
0:?   Linker Objects
0:?     'sbuf' (uniform isamplerBuffer)
0:?     'anon@0' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform int anonMem})
0:?     'gl_TexCoord' (smooth out 1-element array of 4-component vector of float TexCoord)
0:?     'gl_Position' (smooth out 4-component vector of float)
0:?     'locBad' (layout(location=9 ) in 4-component vector of float)
0:?     'loc' (layout(location=9 ) in 4-component vector of float)
0:?     'gl_PointSize' (gl_PointSize float PointSize)
0:?     'gl_ClipVertex' (gl_ClipVertex 4-component vector of float ClipVertex)
0:?     'gl_FogFragCoord' (smooth out float FogFragCoord)
0:?     's2dr' (uniform sampler2DRect)
0:?     's2drs' (uniform sampler2DRectShadow)
0:?     'itloc2' (in 2-component vector of int)
0:?     'tloc2' (in 2-component vector of float)
0:?     'tloc3' (in 3-component vector of float)
0:?     'tloc4' (in 4-component vector of float)
0:?     'gl_VertexID' (gl_VertexId int VertexId)
0:?     'gl_InstanceID' (gl_InstanceId int InstanceId)