1420.vert
2ERROR: 0:2: '#version' : must occur first in shader
3WARNING: 0:3: varying deprecated in version 130; may be removed in future release
4ERROR: 0:3: 'varying' : no longer supported in core profile; removed in version 420
5ERROR: 0:7: '' : vertex input cannot be further qualified
6ERROR: 0:11: '' : can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD)
7ERROR: 0:12: '' : can only have one auxiliary qualifier (centroid, patch, and sample)
8ERROR: 0:13: 'uniform' : too many storage qualifiers
9ERROR: 0:18: '=' : global const initializers must be constant ' const int'
10ERROR: 0:20: 'const' : no qualifiers allowed for function return
11ERROR: 0:27: '' : array size must be a constant integer expression
12ERROR: 0:38: 'j' : undeclared identifier
13ERROR: 0:38: '=' :  cannot convert from ' temp float' to ' temp int'
14ERROR: 0:39: 'k' : undeclared identifier
15ERROR: 0:39: '=' :  cannot convert from ' temp float' to ' temp int'
16ERROR: 0:40: 'j' : undeclared identifier
17ERROR: 0:40: '=' :  cannot convert from ' temp float' to ' temp int'
18ERROR: 0:44: 'jj' : undeclared identifier
19ERROR: 0:44: '=' :  cannot convert from ' temp float' to ' temp int'
20ERROR: 0:54: 'y' : vector swizzle selection out of range
21ERROR: 0:62: 'xxxxx' : vector swizzle too long
22ERROR: 0:63: 'xxy' : vector swizzle selection out of range
23ERROR: 0:66: 'binding' : cannot declare a default, include a type or full declaration
24ERROR: 0:69: 'location/component/index' : cannot declare a default, use a full declaration
25ERROR: 0:70: 'input block' : not supported in this stage: vertex
26ERROR: 0:70: 'binding' : requires uniform or buffer storage qualifier
27ERROR: 0:71: 'binding' : binding is too large
28ERROR: 0:74: 'binding' : sampler binding not less than gl_MaxCombinedTextureImageUnits
29ERROR: 0:76: 'binding' : sampler binding not less than gl_MaxCombinedTextureImageUnits (using array)
30ERROR: 0:85: 'patch' : not supported in this stage: vertex
31ERROR: 0:85: '' : vertex input cannot be further qualified
32ERROR: 0:86: 'patch' : not supported in this stage: vertex
33ERROR: 0:100: '=' : global const initializers must be constant ' const int'
34ERROR: 0:101: '' : array size must be a constant integer expression
35ERROR: 0:107: 'image variables not declared 'writeonly' and without a format layout qualifier' : not supported for this version or the enabled extensions
36ERROR: 0:114: 'imageAtomicMin' : only supported on image with format r32i or r32ui
37ERROR: 0:115: 'imageAtomicMax' : no matching overloaded function found
38ERROR: 0:119: 'writeonly' : argument cannot drop memory qualifier when passed to formal parameter
39ERROR: 0:122: '' : memory qualifiers cannot be used on this type
40ERROR: 0:123: '' : memory qualifiers cannot be used on this type
41ERROR: 0:135: 'volatile' : argument cannot drop memory qualifier when passed to formal parameter
42ERROR: 0:139: 'rg8i' : does not apply to unsigned integer images
43ERROR: 0:140: 'rgba32i' : does not apply to floating point images
44ERROR: 0:141: 'rgba32f' : does not apply to unsigned integer images
45ERROR: 0:142: 'r8_snorm' : does not apply to signed integer images
46ERROR: 0:143: 'rgba32ui' : does not apply to signed integer images
47ERROR: 0:144: 'r8ui' : does not apply to signed integer images
48ERROR: 0:147: 'offset on block member' : not supported for this version or the enabled extensions
49ERROR: 0:147: 'offset/align' : can only be used with std140 or std430 layout packing
50ERROR: 0:157: 'textureQueryLevels' : no matching overloaded function found
51ERROR: 0:157: 'assign' :  cannot convert from ' const float' to ' temp int'
52ERROR: 0:158: 'textureQueryLevels' : no matching overloaded function found
53ERROR: 0:158: 'assign' :  cannot convert from ' const float' to ' temp int'
54WARNING: 0:161: '[]' : assuming binding count of one for compile-time checking of binding numbers for unsized array
55ERROR: 51 compilation errors.  No code generated.
56
57
58Shader version: 420
59ERROR: node is still EOpNull!
600:20  Function Definition: foo( ( const int)
610:20    Function Parameters:
620:?     Sequence
630:23      Sequence
640:23        move second child to first child ( temp int)
650:23          'b' ( const (read only) int)
660:23          'anonconst' ( global int)
670:25      Sequence
680:25        move second child to first child ( temp int)
690:25          'd' ( const (read only) int)
700:25          'b' ( const (read only) int)
710:29      Branch: Return with expression
720:29        'b' ( const (read only) int)
730:32  Function Definition: main( ( global void)
740:32    Function Parameters:
750:?     Sequence
760:35      Test condition and select ( temp void)
770:35        Condition
780:35        Compare Equal ( temp bool)
790:35          'i' ( temp int)
800:35          Constant:
810:35            3 (const int)
820:35        true case
830:36        Sequence
840:36          move second child to first child ( temp int)
850:36            'j' ( temp int)
860:36            'i' ( temp int)
870:42      Loop with condition tested first
880:42        Loop Condition
890:42        Constant:
900:42          true (const bool)
910:42        No loop body
920:50  Function Definition: bar(vf4; ( global void)
930:50    Function Parameters:
940:50      'v' ( volatile in 4-component vector of float)
950:?     Sequence
960:53      's' ( temp int)
970:54      's' ( temp int)
980:55      Test condition and select ( temp void)
990:55        Condition
1000:55        Compare Equal ( temp bool)
1010:55          direct index ( temp float)
1020:55            direct index ( temp 4-component vector of float)
1030:55              'bad' ( in 10-element array of 4-component vector of float)
1040:55              Constant:
1050:55                0 (const int)
1060:55            Constant:
1070:55              0 (const int)
1080:55          Constant:
1090:55            4.200000
1100:55        true case is null
1110:57      Test condition and select ( temp void)
1120:57        Condition
1130:57        Constant:
1140:57          true (const bool)
1150:57        true case
1160:58        move second child to first child ( temp 4-component vector of float)
1170:58          'badorder3' ( flat out 4-component vector of float)
1180:58          direct index ( temp 4-component vector of float)
1190:58            'bad' ( in 10-element array of 4-component vector of float)
1200:58            Constant:
1210:58              0 (const int)
1220:61      Sequence
1230:61        move second child to first child ( temp 3-component vector of float)
1240:61          'smeared' ( temp 3-component vector of float)
1250:61          Construct vec3 ( temp 3-component vector of float)
1260:61            'f' ( temp float)
1270:62      Construct vec4 ( temp 4-component vector of float)
1280:62        'f' ( temp float)
1290:63      Construct vec2 ( temp 2-component vector of float)
1300:63        'f' ( temp float)
1310:88  Function Definition: bar23444( ( global void)
1320:88    Function Parameters:
1330:?     Sequence
1340:91      Sequence
1350:91        move second child to first child ( temp float)
1360:91          'a1' ( temp float)
1370:91          direct index ( temp float)
1380:91            direct index ( temp 3-component vector of float)
1390:91              'm43' ( temp 4X3 matrix of float)
1400:91              Constant:
1410:91                3 (const int)
1420:91            Constant:
1430:91              1 (const int)
1440:93      Sequence
1450:93        move second child to first child ( temp int)
1460:93          'a2' ( temp int)
1470:93          Constant:
1480:93            4 (const int)
1490:94      add second child into first child ( temp int)
1500:94        'a2' ( temp int)
1510:94        Constant:
1520:94          3 (const int)
1530:95      add second child into first child ( temp int)
1540:95        'a2' ( temp int)
1550:95        Constant:
1560:95          3 (const int)
1570:96      Sequence
1580:96        move second child to first child ( temp float)
1590:96          'b' ( const (read only) float)
1600:96          component-wise multiply ( temp float)
1610:96            Constant:
1620:96              2.000000
1630:96            'a1' ( temp float)
1640:97      Sequence
1650:97        move second child to first child ( temp int)
1660:97          'a' ( temp int)
1670:97          Constant:
1680:97            -1 (const int)
1690:109  Function Definition: qux( ( global void)
1700:109    Function Parameters:
1710:111    Sequence
1720:111      Sequence
1730:111        move second child to first child ( temp int)
1740:111          'i' ( temp int)
1750:111          aoeu: direct index for structure (layout( column_major shared) uniform int)
1760:111            'anon@0' (layout( binding=7 column_major shared) uniform block{layout( column_major shared) uniform int aoeu})
1770:111            Constant:
1780:111              0 (const uint)
1790:112      imageAtomicCompSwap ( global int)
1800:112        'iimg2D' (layout( r32i) uniform iimage2D)
1810:112        Construct ivec2 ( temp 2-component vector of int)
1820:112          'i' ( temp int)
1830:112          'i' ( temp int)
1840:112        'i' ( temp int)
1850:112        'i' ( temp int)
1860:113      imageAtomicAdd ( global uint)
1870:113        'uimg2D' (layout( r32ui) uniform uimage2D)
1880:113        Construct ivec2 ( temp 2-component vector of int)
1890:113          'i' ( temp int)
1900:113          'i' ( temp int)
1910:113        Convert int to uint ( temp uint)
1920:113          'i' ( temp int)
1930:114      imageAtomicMin ( global int)
1940:114        'iimg2Drgba' (layout( rgba32i) uniform iimage2D)
1950:114        Construct ivec2 ( temp 2-component vector of int)
1960:114          'i' ( temp int)
1970:114          'i' ( temp int)
1980:114        'i' ( temp int)
1990:115      Constant:
2000:115        0.000000
2010:116      Sequence
2020:116        move second child to first child ( temp 4-component vector of int)
2030:116          'pos' ( temp 4-component vector of int)
2040:116          imageLoad ( global 4-component vector of int)
2050:116            'iimg2D' (layout( r32i) uniform iimage2D)
2060:116            Construct ivec2 ( temp 2-component vector of int)
2070:116              'i' ( temp int)
2080:116              'i' ( temp int)
2090:117      Sequence
2100:117        move second child to first child ( temp 4-component vector of float)
2110:117          'col' ( temp 4-component vector of float)
2120:117          imageLoad ( global 4-component vector of float)
2130:117            'img2DMS' ( uniform image2DMS)
2140:117            Construct ivec2 ( temp 2-component vector of int)
2150:117              'i' ( temp int)
2160:117              'i' ( temp int)
2170:117            'i' ( temp int)
2180:118      imageStore ( global void)
2190:118        'img2DMSWO' ( writeonly uniform image2DMS)
2200:118        Construct ivec2 ( temp 2-component vector of int)
2210:118          'i' ( temp int)
2220:118          'i' ( temp int)
2230:118        'i' ( temp int)
2240:118        Constant:
2250:118          0.000000
2260:118          0.000000
2270:118          0.000000
2280:118          0.000000
2290:119      imageLoad ( global 4-component vector of float)
2300:119        'img2DMSWO' ( writeonly uniform image2DMS)
2310:119        Construct ivec2 ( temp 2-component vector of int)
2320:119          'i' ( temp int)
2330:119          'i' ( temp int)
2340:119        'i' ( temp int)
2350:125  Function Definition: passr(iI21; ( global void)
2360:125    Function Parameters:
2370:125      'image' ( coherent readonly in iimage2D)
2380:132  Function Definition: passrc( ( global void)
2390:132    Function Parameters:
2400:134    Sequence
2410:134      Function Call: passr(iI21; ( global void)
2420:134        'qualim1' (layout( r32i) coherent readonly uniform iimage2D)
2430:135      Function Call: passr(iI21; ( global void)
2440:135        'qualim2' (layout( r32i) coherent volatile readonly uniform iimage2D)
2450:136      Function Call: passr(iI21; ( global void)
2460:136        'iimg2D' (layout( r32i) uniform iimage2D)
2470:153  Function Definition: qlod( ( global void)
2480:153    Function Parameters:
2490:?     Sequence
2500:157      'levels' ( temp int)
2510:158      'levels' ( temp int)
2520:?   Linker Objects
2530:?     'v2' ( smooth out 2-component vector of float)
2540:?     'bad' ( in 10-element array of 4-component vector of float)
2550:?     'badorder' ( in 4-component vector of float)
2560:?     'badorder2' ( invariant smooth out 4-component vector of float)
2570:?     'badorder4' ( centroid in 4-component vector of float)
2580:?     'badorder3' ( flat out 4-component vector of float)
2590:?     'rep' ( smooth flat out 4-component vector of float)
2600:?     'rep2' ( centroid smooth sample out 4-component vector of float)
2610:?     'rep3' ( in 4-component vector of float)
2620:?     'anonconst' ( global int)
2630:?     'aconst' ( const int)
2640:?       5 (const int)
2650:?     'a' ( const int)
2660:?       5 (const int)
2670:?     'b' ( temp int)
2680:?     'cx' ( const float)
2690:?       4.200000
2700:?     'dx' ( const float)
2710:?       4.200000
2720:?     'boundInst' (layout( binding=3 column_major shared) uniform block{layout( column_major shared) uniform int aoeu})
2730:?     'anon@0' (layout( binding=7 column_major shared) uniform block{layout( column_major shared) uniform int aoeu})
2740:?     'anon@1' (layout( binding=1) in block{ in int aoeua})
2750:?     'anon@2' (layout( column_major shared) uniform block{layout( column_major shared) uniform int aooeu})
2760:?     'sampb1' (layout( binding=4) uniform sampler2D)
2770:?     'sampb2' (layout( binding=5) uniform 10-element array of sampler2D)
2780:?     'sampb3' (layout( binding=80) uniform sampler2D)
2790:?     'sampb4' (layout( binding=31) uniform sampler2D)
2800:?     'sampb5' (layout( binding=79) uniform 2-element array of sampler2D)
2810:?     'anon@3' ( out block{ out 4-element array of float ClipDistance gl_ClipDistance, })
2820:?     'patchIn' ( patch in 4-component vector of float)
2830:?     'patchOut' ( smooth patch out 4-component vector of float)
2840:?     'comma0' ( temp int)
2850:?     'comma1' ( global 1-element array of int)
2860:?     'iimg2D' (layout( r32i) uniform iimage2D)
2870:?     'iimg2Drgba' (layout( rgba32i) uniform iimage2D)
2880:?     'img2Drgba' (layout( rgba32f) uniform image2D)
2890:?     'uimg2D' (layout( r32ui) uniform uimage2D)
2900:?     'img2DMS' ( uniform image2DMS)
2910:?     'img2DMSWO' ( writeonly uniform image2DMS)
2920:?     'vol' ( volatile temp float)
2930:?     'vol2' ( readonly temp int)
2940:?     'qualim1' (layout( r32i) coherent readonly uniform iimage2D)
2950:?     'qualim2' (layout( r32i) coherent volatile readonly uniform iimage2D)
2960:?     'i1bad' (layout( rg8i) uniform uimage2D)
2970:?     'i2bad' (layout( rgba32i) uniform image2D)
2980:?     'i3bad' (layout( rgba32f) uniform uimage2D)
2990:?     'i4bad' (layout( r8_snorm) uniform iimage2D)
3000:?     'i5bad' (layout( rgba32ui) uniform iimage2D)
3010:?     'i6bad' (layout( r8ui) uniform iimage2D)
3020:?     'offcheckI' (layout( column_major shared) uniform block{layout( column_major shared offset=16) uniform int foo})
3030:?     'samp1D' ( uniform sampler1D)
3040:?     'samp1Ds' ( uniform sampler1DShadow)
3050:?     'badArray' (layout( binding=0) writeonly uniform unsized 1-element array of image1D)
3060:?     'gl_VertexID' ( gl_VertexId int VertexId)
3070:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
308
309
310Linked vertex stage:
311
312
313Shader version: 420
314ERROR: node is still EOpNull!
3150:32  Function Definition: main( ( global void)
3160:32    Function Parameters:
3170:?     Sequence
3180:35      Test condition and select ( temp void)
3190:35        Condition
3200:35        Compare Equal ( temp bool)
3210:35          'i' ( temp int)
3220:35          Constant:
3230:35            3 (const int)
3240:35        true case
3250:36        Sequence
3260:36          move second child to first child ( temp int)
3270:36            'j' ( temp int)
3280:36            'i' ( temp int)
3290:42      Loop with condition tested first
3300:42        Loop Condition
3310:42        Constant:
3320:42          true (const bool)
3330:42        No loop body
3340:?   Linker Objects
3350:?     'v2' ( smooth out 2-component vector of float)
3360:?     'bad' ( in 10-element array of 4-component vector of float)
3370:?     'badorder' ( in 4-component vector of float)
3380:?     'badorder2' ( invariant smooth out 4-component vector of float)
3390:?     'badorder4' ( centroid in 4-component vector of float)
3400:?     'badorder3' ( flat out 4-component vector of float)
3410:?     'rep' ( smooth flat out 4-component vector of float)
3420:?     'rep2' ( centroid smooth sample out 4-component vector of float)
3430:?     'rep3' ( in 4-component vector of float)
3440:?     'anonconst' ( global int)
3450:?     'aconst' ( const int)
3460:?       5 (const int)
3470:?     'a' ( const int)
3480:?       5 (const int)
3490:?     'b' ( temp int)
3500:?     'cx' ( const float)
3510:?       4.200000
3520:?     'dx' ( const float)
3530:?       4.200000
3540:?     'boundInst' (layout( binding=3 column_major shared) uniform block{layout( column_major shared) uniform int aoeu})
3550:?     'anon@0' (layout( binding=7 column_major shared) uniform block{layout( column_major shared) uniform int aoeu})
3560:?     'anon@1' (layout( binding=1) in block{ in int aoeua})
3570:?     'anon@2' (layout( column_major shared) uniform block{layout( column_major shared) uniform int aooeu})
3580:?     'sampb1' (layout( binding=4) uniform sampler2D)
3590:?     'sampb2' (layout( binding=5) uniform 10-element array of sampler2D)
3600:?     'sampb3' (layout( binding=80) uniform sampler2D)
3610:?     'sampb4' (layout( binding=31) uniform sampler2D)
3620:?     'sampb5' (layout( binding=79) uniform 2-element array of sampler2D)
3630:?     'anon@3' ( out block{ out 4-element array of float ClipDistance gl_ClipDistance, })
3640:?     'patchIn' ( patch in 4-component vector of float)
3650:?     'patchOut' ( smooth patch out 4-component vector of float)
3660:?     'comma0' ( temp int)
3670:?     'comma1' ( global 1-element array of int)
3680:?     'iimg2D' (layout( r32i) uniform iimage2D)
3690:?     'iimg2Drgba' (layout( rgba32i) uniform iimage2D)
3700:?     'img2Drgba' (layout( rgba32f) uniform image2D)
3710:?     'uimg2D' (layout( r32ui) uniform uimage2D)
3720:?     'img2DMS' ( uniform image2DMS)
3730:?     'img2DMSWO' ( writeonly uniform image2DMS)
3740:?     'vol' ( volatile temp float)
3750:?     'vol2' ( readonly temp int)
3760:?     'qualim1' (layout( r32i) coherent readonly uniform iimage2D)
3770:?     'qualim2' (layout( r32i) coherent volatile readonly uniform iimage2D)
3780:?     'i1bad' (layout( rg8i) uniform uimage2D)
3790:?     'i2bad' (layout( rgba32i) uniform image2D)
3800:?     'i3bad' (layout( rgba32f) uniform uimage2D)
3810:?     'i4bad' (layout( r8_snorm) uniform iimage2D)
3820:?     'i5bad' (layout( rgba32ui) uniform iimage2D)
3830:?     'i6bad' (layout( r8ui) uniform iimage2D)
3840:?     'offcheckI' (layout( column_major shared) uniform block{layout( column_major shared offset=16) uniform int foo})
3850:?     'samp1D' ( uniform sampler1D)
3860:?     'samp1Ds' ( uniform sampler1DShadow)
3870:?     'badArray' (layout( binding=0) writeonly uniform 1-element array of image1D)
3880:?     'gl_VertexID' ( gl_VertexId int VertexId)
3890:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
390
391