1 420.vert 2 ERROR: 0:2: '#version' : must occur first in shader 3 WARNING: 0:3: varying deprecated in version 130; may be removed in future release 4 ERROR: 0:3: 'varying' : no longer supported in core profile; removed in version 420 5 ERROR: 0:7: '' : vertex input cannot be further qualified 6 ERROR: 0:11: '' : can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD) 7 ERROR: 0:12: '' : can only have one auxiliary qualifier (centroid, patch, and sample) 8 ERROR: 0:13: 'uniform' : too many storage qualifiers 9 ERROR: 0:18: '=' : global const initializers must be constant ' const int' 10 ERROR: 0:20: 'const' : no qualifiers allowed for function return 11 ERROR: 0:27: '' : array size must be a constant integer expression 12 ERROR: 0:38: 'j' : undeclared identifier 13 ERROR: 0:38: '=' : cannot convert from ' temp float' to ' temp int' 14 ERROR: 0:39: 'k' : undeclared identifier 15 ERROR: 0:39: '=' : cannot convert from ' temp float' to ' temp int' 16 ERROR: 0:40: 'j' : undeclared identifier 17 ERROR: 0:40: '=' : cannot convert from ' temp float' to ' temp int' 18 ERROR: 0:44: 'jj' : undeclared identifier 19 ERROR: 0:44: '=' : cannot convert from ' temp float' to ' temp int' 20 ERROR: 0:54: 'y' : vector swizzle selection out of range 21 ERROR: 0:62: 'xxxxx' : vector swizzle too long 22 ERROR: 0:63: 'xxy' : vector swizzle selection out of range 23 ERROR: 0:66: 'binding' : cannot declare a default, include a type or full declaration 24 ERROR: 0:69: 'location/component/index' : cannot declare a default, use a full declaration 25 ERROR: 0:70: 'input block' : not supported in this stage: vertex 26 ERROR: 0:70: 'binding' : requires uniform or buffer storage qualifier 27 ERROR: 0:71: 'binding' : binding is too large 28 ERROR: 0:74: 'binding' : sampler binding not less than gl_MaxCombinedTextureImageUnits 29 ERROR: 0:76: 'binding' : sampler binding not less than gl_MaxCombinedTextureImageUnits (using array) 30 ERROR: 0:85: 'patch' : not supported in this stage: vertex 31 ERROR: 0:85: '' : vertex input cannot be further qualified 32 ERROR: 0:86: 'patch' : not supported in this stage: vertex 33 ERROR: 0:100: '=' : global const initializers must be constant ' const int' 34 ERROR: 0:101: '' : array size must be a constant integer expression 35 ERROR: 0:107: 'image variables not declared 'writeonly' and without a format layout qualifier' : not supported for this version or the enabled extensions 36 ERROR: 0:114: 'imageAtomicMin' : only supported on image with format r32i or r32ui 37 ERROR: 0:115: 'imageAtomicMax' : no matching overloaded function found 38 ERROR: 0:119: 'writeonly' : argument cannot drop memory qualifier when passed to formal parameter 39 ERROR: 0:122: '' : memory qualifiers cannot be used on this type 40 ERROR: 0:123: '' : memory qualifiers cannot be used on this type 41 ERROR: 0:135: 'volatile' : argument cannot drop memory qualifier when passed to formal parameter 42 ERROR: 0:139: 'rg8i' : does not apply to unsigned integer images 43 ERROR: 0:140: 'rgba32i' : does not apply to floating point images 44 ERROR: 0:141: 'rgba32f' : does not apply to unsigned integer images 45 ERROR: 0:142: 'r8_snorm' : does not apply to signed integer images 46 ERROR: 0:143: 'rgba32ui' : does not apply to signed integer images 47 ERROR: 0:144: 'r8ui' : does not apply to signed integer images 48 ERROR: 0:147: 'offset on block member' : not supported for this version or the enabled extensions 49 ERROR: 0:147: 'offset/align' : can only be used with std140, std430, or scalar layout packing 50 ERROR: 0:157: 'textureQueryLevels' : no matching overloaded function found 51 ERROR: 0:157: 'assign' : cannot convert from ' const float' to ' temp int' 52 ERROR: 0:158: 'textureQueryLevels' : no matching overloaded function found 53 ERROR: 0:158: 'assign' : cannot convert from ' const float' to ' temp int' 54 WARNING: 0:161: '[]' : assuming binding count of one for compile-time checking of binding numbers for unsized array 55 ERROR: 51 compilation errors. No code generated. 56 57 58 Shader version: 420 59 ERROR: node is still EOpNull! 60 0:20 Function Definition: foo( ( const int) 61 0:20 Function Parameters: 62 0:? Sequence 63 0:23 Sequence 64 0:23 move second child to first child ( temp int) 65 0:23 'b' ( const (read only) int) 66 0:23 'anonconst' ( global int) 67 0:25 Sequence 68 0:25 move second child to first child ( temp int) 69 0:25 'd' ( const (read only) int) 70 0:25 'b' ( const (read only) int) 71 0:29 Branch: Return with expression 72 0:29 'b' ( const (read only) int) 73 0:32 Function Definition: main( ( global void) 74 0:32 Function Parameters: 75 0:? Sequence 76 0:35 Test condition and select ( temp void) 77 0:35 Condition 78 0:35 Compare Equal ( temp bool) 79 0:35 'i' ( temp int) 80 0:35 Constant: 81 0:35 3 (const int) 82 0:35 true case 83 0:36 Sequence 84 0:36 move second child to first child ( temp int) 85 0:36 'j' ( temp int) 86 0:36 'i' ( temp int) 87 0:42 Loop with condition tested first 88 0:42 Loop Condition 89 0:42 Constant: 90 0:42 true (const bool) 91 0:42 No loop body 92 0:50 Function Definition: bar(vf4; ( global void) 93 0:50 Function Parameters: 94 0:50 'v' ( volatile in 4-component vector of float) 95 0:? Sequence 96 0:53 's' ( temp int) 97 0:54 's' ( temp int) 98 0:55 Test condition and select ( temp void) 99 0:55 Condition 100 0:55 Compare Equal ( temp bool) 101 0:55 direct index ( temp float) 102 0:55 direct index ( temp 4-component vector of float) 103 0:55 'bad' ( in 10-element array of 4-component vector of float) 104 0:55 Constant: 105 0:55 0 (const int) 106 0:55 Constant: 107 0:55 0 (const int) 108 0:55 Constant: 109 0:55 4.200000 110 0:55 true case is null 111 0:57 Test condition and select ( temp void) 112 0:57 Condition 113 0:57 Constant: 114 0:57 true (const bool) 115 0:57 true case 116 0:58 move second child to first child ( temp 4-component vector of float) 117 0:58 'badorder3' ( flat out 4-component vector of float) 118 0:58 direct index ( temp 4-component vector of float) 119 0:58 'bad' ( in 10-element array of 4-component vector of float) 120 0:58 Constant: 121 0:58 0 (const int) 122 0:61 Sequence 123 0:61 move second child to first child ( temp 3-component vector of float) 124 0:61 'smeared' ( temp 3-component vector of float) 125 0:61 Construct vec3 ( temp 3-component vector of float) 126 0:61 'f' ( temp float) 127 0:62 Construct vec4 ( temp 4-component vector of float) 128 0:62 'f' ( temp float) 129 0:63 Construct vec2 ( temp 2-component vector of float) 130 0:63 'f' ( temp float) 131 0:88 Function Definition: bar23444( ( global void) 132 0:88 Function Parameters: 133 0:? Sequence 134 0:91 Sequence 135 0:91 move second child to first child ( temp float) 136 0:91 'a1' ( temp float) 137 0:91 direct index ( temp float) 138 0:91 direct index ( temp 3-component vector of float) 139 0:91 'm43' ( temp 4X3 matrix of float) 140 0:91 Constant: 141 0:91 3 (const int) 142 0:91 Constant: 143 0:91 1 (const int) 144 0:93 Sequence 145 0:93 move second child to first child ( temp int) 146 0:93 'a2' ( temp int) 147 0:93 Constant: 148 0:93 4 (const int) 149 0:94 add second child into first child ( temp int) 150 0:94 'a2' ( temp int) 151 0:94 Constant: 152 0:94 3 (const int) 153 0:95 add second child into first child ( temp int) 154 0:95 'a2' ( temp int) 155 0:95 Constant: 156 0:95 3 (const int) 157 0:96 Sequence 158 0:96 move second child to first child ( temp float) 159 0:96 'b' ( const (read only) float) 160 0:96 component-wise multiply ( temp float) 161 0:96 Constant: 162 0:96 2.000000 163 0:96 'a1' ( temp float) 164 0:97 Sequence 165 0:97 move second child to first child ( temp int) 166 0:97 'a' ( temp int) 167 0:97 Constant: 168 0:97 -1 (const int) 169 0:109 Function Definition: qux( ( global void) 170 0:109 Function Parameters: 171 0:111 Sequence 172 0:111 Sequence 173 0:111 move second child to first child ( temp int) 174 0:111 'i' ( temp int) 175 0:111 aoeu: direct index for structure (layout( column_major shared) uniform int) 176 0:111 'anon@0' (layout( binding=7 column_major shared) uniform block{layout( column_major shared) uniform int aoeu}) 177 0:111 Constant: 178 0:111 0 (const uint) 179 0:112 imageAtomicCompSwap ( global int) 180 0:112 'iimg2D' (layout( r32i) uniform iimage2D) 181 0:112 Construct ivec2 ( temp 2-component vector of int) 182 0:112 'i' ( temp int) 183 0:112 'i' ( temp int) 184 0:112 'i' ( temp int) 185 0:112 'i' ( temp int) 186 0:113 imageAtomicAdd ( global uint) 187 0:113 'uimg2D' (layout( r32ui) uniform uimage2D) 188 0:113 Construct ivec2 ( temp 2-component vector of int) 189 0:113 'i' ( temp int) 190 0:113 'i' ( temp int) 191 0:113 Convert int to uint ( temp uint) 192 0:113 'i' ( temp int) 193 0:114 imageAtomicMin ( global int) 194 0:114 'iimg2Drgba' (layout( rgba32i) uniform iimage2D) 195 0:114 Construct ivec2 ( temp 2-component vector of int) 196 0:114 'i' ( temp int) 197 0:114 'i' ( temp int) 198 0:114 'i' ( temp int) 199 0:115 Constant: 200 0:115 0.000000 201 0:116 Sequence 202 0:116 move second child to first child ( temp 4-component vector of int) 203 0:116 'pos' ( temp 4-component vector of int) 204 0:116 imageLoad ( global 4-component vector of int) 205 0:116 'iimg2D' (layout( r32i) uniform iimage2D) 206 0:116 Construct ivec2 ( temp 2-component vector of int) 207 0:116 'i' ( temp int) 208 0:116 'i' ( temp int) 209 0:117 Sequence 210 0:117 move second child to first child ( temp 4-component vector of float) 211 0:117 'col' ( temp 4-component vector of float) 212 0:117 imageLoad ( global 4-component vector of float) 213 0:117 'img2DMS' ( uniform image2DMS) 214 0:117 Construct ivec2 ( temp 2-component vector of int) 215 0:117 'i' ( temp int) 216 0:117 'i' ( temp int) 217 0:117 'i' ( temp int) 218 0:118 imageStore ( global void) 219 0:118 'img2DMSWO' ( writeonly uniform image2DMS) 220 0:118 Construct ivec2 ( temp 2-component vector of int) 221 0:118 'i' ( temp int) 222 0:118 'i' ( temp int) 223 0:118 'i' ( temp int) 224 0:118 Constant: 225 0:118 0.000000 226 0:118 0.000000 227 0:118 0.000000 228 0:118 0.000000 229 0:119 imageLoad ( global 4-component vector of float) 230 0:119 'img2DMSWO' ( writeonly uniform image2DMS) 231 0:119 Construct ivec2 ( temp 2-component vector of int) 232 0:119 'i' ( temp int) 233 0:119 'i' ( temp int) 234 0:119 'i' ( temp int) 235 0:125 Function Definition: passr(iI21; ( global void) 236 0:125 Function Parameters: 237 0:125 'image' ( coherent readonly in iimage2D) 238 0:132 Function Definition: passrc( ( global void) 239 0:132 Function Parameters: 240 0:134 Sequence 241 0:134 Function Call: passr(iI21; ( global void) 242 0:134 'qualim1' (layout( r32i) coherent readonly uniform iimage2D) 243 0:135 Function Call: passr(iI21; ( global void) 244 0:135 'qualim2' (layout( r32i) coherent volatile readonly uniform iimage2D) 245 0:136 Function Call: passr(iI21; ( global void) 246 0:136 'iimg2D' (layout( r32i) uniform iimage2D) 247 0:153 Function Definition: qlod( ( global void) 248 0:153 Function Parameters: 249 0:? Sequence 250 0:157 'levels' ( temp int) 251 0:158 'levels' ( temp int) 252 0:? Linker Objects 253 0:? 'v2' ( smooth out 2-component vector of float) 254 0:? 'bad' ( in 10-element array of 4-component vector of float) 255 0:? 'badorder' ( in 4-component vector of float) 256 0:? 'badorder2' ( invariant smooth out 4-component vector of float) 257 0:? 'badorder4' ( centroid in 4-component vector of float) 258 0:? 'badorder3' ( flat out 4-component vector of float) 259 0:? 'rep' ( smooth flat out 4-component vector of float) 260 0:? 'rep2' ( centroid smooth sample out 4-component vector of float) 261 0:? 'rep3' ( in 4-component vector of float) 262 0:? 'anonconst' ( global int) 263 0:? 'aconst' ( const int) 264 0:? 5 (const int) 265 0:? 'a' ( const int) 266 0:? 5 (const int) 267 0:? 'b' ( temp int) 268 0:? 'cx' ( const float) 269 0:? 4.200000 270 0:? 'dx' ( const float) 271 0:? 4.200000 272 0:? 'boundInst' (layout( binding=3 column_major shared) uniform block{layout( column_major shared) uniform int aoeu}) 273 0:? 'anon@0' (layout( binding=7 column_major shared) uniform block{layout( column_major shared) uniform int aoeu}) 274 0:? 'anon@1' (layout( binding=1) in block{ in int aoeua}) 275 0:? 'anon@2' (layout( column_major shared) uniform block{layout( column_major shared) uniform int aooeu}) 276 0:? 'sampb1' (layout( binding=4) uniform sampler2D) 277 0:? 'sampb2' (layout( binding=5) uniform 10-element array of sampler2D) 278 0:? 'sampb3' (layout( binding=80) uniform sampler2D) 279 0:? 'sampb4' (layout( binding=31) uniform sampler2D) 280 0:? 'sampb5' (layout( binding=79) uniform 2-element array of sampler2D) 281 0:? 'anon@3' ( out block{ out 4-element array of float ClipDistance gl_ClipDistance, }) 282 0:? 'patchIn' ( patch in 4-component vector of float) 283 0:? 'patchOut' ( smooth patch out 4-component vector of float) 284 0:? 'comma0' ( temp int) 285 0:? 'comma1' ( global 1-element array of int) 286 0:? 'iimg2D' (layout( r32i) uniform iimage2D) 287 0:? 'iimg2Drgba' (layout( rgba32i) uniform iimage2D) 288 0:? 'img2Drgba' (layout( rgba32f) uniform image2D) 289 0:? 'uimg2D' (layout( r32ui) uniform uimage2D) 290 0:? 'img2DMS' ( uniform image2DMS) 291 0:? 'img2DMSWO' ( writeonly uniform image2DMS) 292 0:? 'vol' ( volatile temp float) 293 0:? 'vol2' ( readonly temp int) 294 0:? 'qualim1' (layout( r32i) coherent readonly uniform iimage2D) 295 0:? 'qualim2' (layout( r32i) coherent volatile readonly uniform iimage2D) 296 0:? 'i1bad' (layout( rg8i) uniform uimage2D) 297 0:? 'i2bad' (layout( rgba32i) uniform image2D) 298 0:? 'i3bad' (layout( rgba32f) uniform uimage2D) 299 0:? 'i4bad' (layout( r8_snorm) uniform iimage2D) 300 0:? 'i5bad' (layout( rgba32ui) uniform iimage2D) 301 0:? 'i6bad' (layout( r8ui) uniform iimage2D) 302 0:? 'offcheckI' (layout( column_major shared) uniform block{layout( column_major shared offset=16) uniform int foo}) 303 0:? 'samp1D' ( uniform sampler1D) 304 0:? 'samp1Ds' ( uniform sampler1DShadow) 305 0:? 'badArray' (layout( binding=0) writeonly uniform unsized 1-element array of image1D) 306 0:? 'gl_VertexID' ( gl_VertexId int VertexId) 307 0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId) 308 309 310 Linked vertex stage: 311 312 313 Shader version: 420 314 ERROR: node is still EOpNull! 315 0:32 Function Definition: main( ( global void) 316 0:32 Function Parameters: 317 0:? Sequence 318 0:35 Test condition and select ( temp void) 319 0:35 Condition 320 0:35 Compare Equal ( temp bool) 321 0:35 'i' ( temp int) 322 0:35 Constant: 323 0:35 3 (const int) 324 0:35 true case 325 0:36 Sequence 326 0:36 move second child to first child ( temp int) 327 0:36 'j' ( temp int) 328 0:36 'i' ( temp int) 329 0:42 Loop with condition tested first 330 0:42 Loop Condition 331 0:42 Constant: 332 0:42 true (const bool) 333 0:42 No loop body 334 0:? Linker Objects 335 0:? 'v2' ( smooth out 2-component vector of float) 336 0:? 'bad' ( in 10-element array of 4-component vector of float) 337 0:? 'badorder' ( in 4-component vector of float) 338 0:? 'badorder2' ( invariant smooth out 4-component vector of float) 339 0:? 'badorder4' ( centroid in 4-component vector of float) 340 0:? 'badorder3' ( flat out 4-component vector of float) 341 0:? 'rep' ( smooth flat out 4-component vector of float) 342 0:? 'rep2' ( centroid smooth sample out 4-component vector of float) 343 0:? 'rep3' ( in 4-component vector of float) 344 0:? 'anonconst' ( global int) 345 0:? 'aconst' ( const int) 346 0:? 5 (const int) 347 0:? 'a' ( const int) 348 0:? 5 (const int) 349 0:? 'b' ( temp int) 350 0:? 'cx' ( const float) 351 0:? 4.200000 352 0:? 'dx' ( const float) 353 0:? 4.200000 354 0:? 'boundInst' (layout( binding=3 column_major shared) uniform block{layout( column_major shared) uniform int aoeu}) 355 0:? 'anon@0' (layout( binding=7 column_major shared) uniform block{layout( column_major shared) uniform int aoeu}) 356 0:? 'anon@1' (layout( binding=1) in block{ in int aoeua}) 357 0:? 'anon@2' (layout( column_major shared) uniform block{layout( column_major shared) uniform int aooeu}) 358 0:? 'sampb1' (layout( binding=4) uniform sampler2D) 359 0:? 'sampb2' (layout( binding=5) uniform 10-element array of sampler2D) 360 0:? 'sampb3' (layout( binding=80) uniform sampler2D) 361 0:? 'sampb4' (layout( binding=31) uniform sampler2D) 362 0:? 'sampb5' (layout( binding=79) uniform 2-element array of sampler2D) 363 0:? 'anon@3' ( out block{ out 4-element array of float ClipDistance gl_ClipDistance, }) 364 0:? 'patchIn' ( patch in 4-component vector of float) 365 0:? 'patchOut' ( smooth patch out 4-component vector of float) 366 0:? 'comma0' ( temp int) 367 0:? 'comma1' ( global 1-element array of int) 368 0:? 'iimg2D' (layout( r32i) uniform iimage2D) 369 0:? 'iimg2Drgba' (layout( rgba32i) uniform iimage2D) 370 0:? 'img2Drgba' (layout( rgba32f) uniform image2D) 371 0:? 'uimg2D' (layout( r32ui) uniform uimage2D) 372 0:? 'img2DMS' ( uniform image2DMS) 373 0:? 'img2DMSWO' ( writeonly uniform image2DMS) 374 0:? 'vol' ( volatile temp float) 375 0:? 'vol2' ( readonly temp int) 376 0:? 'qualim1' (layout( r32i) coherent readonly uniform iimage2D) 377 0:? 'qualim2' (layout( r32i) coherent volatile readonly uniform iimage2D) 378 0:? 'i1bad' (layout( rg8i) uniform uimage2D) 379 0:? 'i2bad' (layout( rgba32i) uniform image2D) 380 0:? 'i3bad' (layout( rgba32f) uniform uimage2D) 381 0:? 'i4bad' (layout( r8_snorm) uniform iimage2D) 382 0:? 'i5bad' (layout( rgba32ui) uniform iimage2D) 383 0:? 'i6bad' (layout( r8ui) uniform iimage2D) 384 0:? 'offcheckI' (layout( column_major shared) uniform block{layout( column_major shared offset=16) uniform int foo}) 385 0:? 'samp1D' ( uniform sampler1D) 386 0:? 'samp1Ds' ( uniform sampler1DShadow) 387 0:? 'badArray' (layout( binding=0) writeonly uniform 1-element array of image1D) 388 0:? 'gl_VertexID' ( gl_VertexId int VertexId) 389 0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId) 390 391