blob: 9f7040d83f67e9183e7744bd11047bf897e36a7c [file] [log] [blame]
John Kessenich3dd035b2014-08-12 22:08:45 +00001310.comp
2Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
3ERROR: 0:4: 'local_size' : cannot change previously set size
4ERROR: 0:5: 'local_size' : too large; see gl_MaxComputeWorkGroupSize
5ERROR: 0:23: 'values' : only the last member of a buffer block can be run-time sized
6ERROR: 0:39: 'in' : global storage input qualifier cannot be used in a compute shader
7ERROR: 0:39: 'location qualifier on input' : not supported in this stage: compute
8ERROR: 0:40: 'in' : global storage input qualifier cannot be used in a compute shader
9ERROR: 0:41: 'out' : global storage output qualifier cannot be used in a compute shader
10ERROR: 0:44: 'shared' : cannot apply layout qualifiers to a shared variable
11ERROR: 0:44: 'location' : can only appy to uniform, buffer, in, or out storage qualifiers
12ERROR: 0:45: 'shared' : cannot initialize this type of qualifier
13ERROR: 0:47: 'local_size' : can only apply to 'in'
14ERROR: 0:47: 'local_size' : can only apply to 'in'
15ERROR: 0:47: 'local_size' : can only apply to 'in'
16ERROR: 0:61: 'assign' : l-value required "ro" (can't modify a readonly buffer)
17ERROR: 0:66: 'buffer' : buffers can be declared only as blocks
18ERROR: 0:68: 'sampler/image' : type requires declaration of default precision qualifier
19ERROR: 0:76: '' : image variables not declared 'writeonly' must have a format layout qualifier
20ERROR: 0:87: 'imageAtomicCompSwap' : no matching overloaded function found
21ERROR: 0:88: 'imageAtomicAdd' : no matching overloaded function found
22ERROR: 0:89: 'imageAtomicMin' : no matching overloaded function found
23ERROR: 0:90: 'imageAtomicMax' : no matching overloaded function found
24ERROR: 0:94: 'writeonly' : argument cannot drop memory qualifier when passed to formal parameter
25ERROR: 0:97: 'volatile' : Reserved word.
26ERROR: 0:97: '' : memory qualifiers cannot be used on this type
27ERROR: 0:98: '' : memory qualifiers cannot be used on this type
28ERROR: 0:110: 'restrict' : argument cannot drop memory qualifier when passed to formal parameter
29ERROR: 0:114: 'image load-store format' : not supported with this profile: es
30ERROR: 0:114: 'rg8i' : does not apply to unsigned integer images
31ERROR: 0:115: 'rgba32i' : does not apply to floating point images
32ERROR: 0:116: 'rgba32f' : does not apply to unsigned integer images
33ERROR: 0:117: 'image load-store format' : not supported with this profile: es
34ERROR: 0:117: 'r8_snorm' : does not apply to signed integer images
35ERROR: 0:118: 'rgba32ui' : does not apply to signed integer images
36ERROR: 0:119: 'image load-store format' : not supported with this profile: es
37ERROR: 0:119: 'r8ui' : does not apply to signed integer images
38ERROR: 0:128: 'atomic_uint' : samplers and atomic_uints cannot be output parameters
39ERROR: 0:130: 'return' : type does not match, or is not convertible to, the function's return type
40ERROR: 0:136: 'atomic_uint' : atomic_uints can only be used in uniform variables or function parameters: non_uniform_counter
41ERROR: 0:141: 'atomic_uint' : atomic counters can only be highp
John Kessenich265f5fb2014-08-13 01:04:28 +000042ERROR: 0:141: 'binding' : cannot be greater-than-or-equal to gl_MaxAtomicCounterBindings
43ERROR: 0:143: 'binding' : cannot be greater-than-or-equal to gl_MaxAtomicCounterBindings
44ERROR: 0:149: '[]' : scalar integer expression required
45ERROR: 42 compilation errors. No code generated.
John Kessenich3dd035b2014-08-12 22:08:45 +000046
47
48Shader version: 310
49local_size = (2, 1, 4096)
50ERROR: node is still EOpNull!
510:27 Function Definition: main( (void)
520:27 Function Parameters:
530:29 Sequence
540:29 Barrier (void)
550:30 MemoryBarrier (void)
560:31 MemoryBarrierAtomicCounter (void)
570:32 MemoryBarrierBuffer (void)
580:33 MemoryBarrierShared (void)
590:34 MemoryBarrierImage (void)
600:35 GroupMemoryBarrier (void)
610:36 move second child to first child (highp int)
620:36 value: direct index for structure (layout(column_major shared ) buffer highp int)
630:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
640:36 Constant:
650:36 0 (const uint)
660:36 Convert float to int (highp int)
670:36 indirect index (layout(column_major shared ) highp float)
680:36 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float)
690:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
700:36 Constant:
710:36 1 (const uint)
720:36 'gl_LocalInvocationIndex' (in highp uint)
730:59 Function Definition: foo( (void)
740:59 Function Parameters:
750:61 Sequence
760:61 move second child to first child (highp float)
770:61 direct index (layout(column_major shared ) highp float)
780:61 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float)
790:61 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
800:61 Constant:
810:61 1 (const int)
820:61 Constant:
830:61 2 (const int)
840:61 Constant:
850:61 4.700000
860:62 array length (highp int)
870:62 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float)
880:62 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
890:62 Constant:
900:62 1 (const int)
910:63 Pre-Increment (highp 4-component vector of float)
920:63 's' (shared highp 4-component vector of float)
930:84 Function Definition: qux( (void)
940:84 Function Parameters:
950:86 Sequence
960:86 Sequence
970:86 move second child to first child (highp int)
980:86 'i' (highp int)
990:86 Constant:
1000:86 4 (const int)
1010:87 Constant:
1020:87 0.000000
1030:88 Constant:
1040:88 0.000000
1050:89 Constant:
1060:89 0.000000
1070:90 Constant:
1080:90 0.000000
1090:91 Sequence
1100:91 move second child to first child (highp 4-component vector of int)
1110:91 'pos' (highp 4-component vector of int)
1120:91 Function Call: imageLoad(iI21;vi2; (highp 4-component vector of int)
1130:91 'iimg2D' (layout(r32i ) uniform highp iimage2D)
1140:91 Construct ivec2 (2-component vector of int)
1150:91 'i' (highp int)
1160:91 'i' (highp int)
1170:92 Function Call: imageStore(iIA21;vi3;vi4; (highp void)
1180:92 'ii2da' (writeonly uniform highp iimage2DArray)
1190:92 Construct ivec3 (3-component vector of int)
1200:92 'i' (highp int)
1210:92 'i' (highp int)
1220:92 'i' (highp int)
1230:92 Constant:
1240:92 0 (const int)
1250:92 0 (const int)
1260:92 0 (const int)
1270:92 0 (const int)
1280:93 Function Call: imageLoad(I21;vi2; (highp 4-component vector of float)
1290:93 'img2Drgba' (layout(rgba32f ) uniform lowp image2D)
1300:93 Construct ivec2 (2-component vector of int)
1310:93 'i' (highp int)
1320:93 'i' (highp int)
1330:94 Function Call: imageLoad(iIA21;vi3; (highp 4-component vector of int)
1340:94 'ii2da' (writeonly uniform highp iimage2DArray)
1350:94 Construct ivec3 (3-component vector of int)
1360:94 'i' (highp int)
1370:94 'i' (highp int)
1380:94 'i' (highp int)
1390:100 Function Definition: passr(iI21; (void)
1400:100 Function Parameters:
1410:100 'image' (coherent readonly in highp iimage2D)
1420:107 Function Definition: passrc( (void)
1430:107 Function Parameters:
1440:109 Sequence
1450:109 Function Call: passr(iI21; (void)
1460:109 'qualim1' (layout(r32i ) coherent readonly uniform highp iimage2D)
1470:110 Function Call: passr(iI21; (void)
1480:110 'qualim2' (layout(r32i ) coherent restrict readonly uniform highp iimage2D)
1490:111 Function Call: passr(iI21; (void)
1500:111 'iimg2D' (layout(r32i ) uniform highp iimage2D)
1510:123 Function Definition: func(au1; (highp uint)
1520:123 Function Parameters:
1530:123 'c' (in highp atomic_uint)
1540:125 Sequence
1550:125 Branch: Return with expression
1560:125 Function Call: atomicCounterIncrement(au1; (highp uint)
1570:125 'c' (in highp atomic_uint)
1580:128 Function Definition: func2(au1; (highp uint)
1590:128 Function Parameters:
1600:128 'c' (out highp atomic_uint)
1610:130 Sequence
1620:130 Branch: Return with expression
1630:130 'counter' (layout(binding=0 ) uniform highp atomic_uint)
1640:131 Branch: Return with expression
1650:131 Function Call: atomicCounter(au1; (highp uint)
1660:131 'counter' (layout(binding=0 ) uniform highp atomic_uint)
1670:134 Function Definition: mainAC( (void)
1680:134 Function Parameters:
1690:? Sequence
1700:137 Sequence
1710:137 move second child to first child (highp uint)
1720:137 'val' (highp uint)
1730:137 Function Call: atomicCounter(au1; (highp uint)
1740:137 'counter' (layout(binding=0 ) uniform highp atomic_uint)
1750:138 Function Call: atomicCounterDecrement(au1; (highp uint)
1760:138 'counter' (layout(binding=0 ) uniform highp atomic_uint)
John Kessenich265f5fb2014-08-13 01:04:28 +00001770:146 Function Definition: opac( (void)
1780:146 Function Parameters:
1790:? Sequence
1800:149 indirect index (highp int)
1810:149 'a' (3-element array of highp int)
1820:149 'counter' (layout(binding=0 ) uniform highp atomic_uint)
1830:150 direct index (layout(binding=2 offset=4 ) highp atomic_uint)
1840:150 'countArr' (layout(binding=2 offset=4 ) uniform 4-element array of highp atomic_uint)
1850:150 Constant:
1860:150 2 (const int)
1870:151 indirect index (layout(binding=2 offset=4 ) highp atomic_uint)
1880:151 'countArr' (layout(binding=2 offset=4 ) uniform 4-element array of highp atomic_uint)
1890:151 'i' (uniform highp int)
John Kessenich3dd035b2014-08-12 22:08:45 +00001900:? Linker Objects
1910:? 'gl_WorkGroupSize' (const highp 3-component vector of uint)
1920:? 2 (const uint)
1930:? 1 (const uint)
1940:? 4096 (const uint)
1950:? 'total' (const highp int)
1960:? 66592 (const int)
1970:? 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
1980:? 'invalid' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer implicitly-sized array of highp float values, layout(column_major shared ) buffer highp int value})
1990:? 'v3' (layout(location=2 ) in highp 3-component vector of float)
2000:? 'f' (in highp float)
2010:? 'fo' (out highp float)
2020:? 's' (shared highp 4-component vector of float)
2030:? 'sl' (layout(location=2 ) shared highp 4-component vector of float)
2040:? 'fs' (shared highp float)
2050:? 'arrX' (2-element array of highp int)
2060:? 'arrY' (1-element array of highp int)
2070:? 'arrZ' (4096-element array of highp int)
2080:? 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
2090:? 'v' (buffer highp 4-component vector of float)
2100:? 'us2dbad' (uniform mediump usampler2D)
2110:? 'us2d' (uniform highp usampler2D)
2120:? 'ii2dabad' (uniform highp iimage2DArray)
2130:? 'ii2da' (writeonly uniform highp iimage2DArray)
2140:? 'iimg2D' (layout(r32i ) uniform highp iimage2D)
2150:? 'iimg2Drgba' (layout(rgba32i ) uniform highp iimage2D)
2160:? 'img2Drgba' (layout(rgba32f ) uniform lowp image2D)
2170:? 'uimg2D' (layout(r32ui ) uniform highp uimage2D)
2180:? 'vol' (volatile highp float)
2190:? 'vol2' (readonly highp int)
2200:? 'qualim1' (layout(r32i ) coherent readonly uniform highp iimage2D)
2210:? 'qualim2' (layout(r32i ) coherent restrict readonly uniform highp iimage2D)
2220:? 'i1bad' (layout(rg8i ) uniform highp uimage2D)
2230:? 'i2bad' (layout(rgba32i ) uniform lowp image2D)
2240:? 'i3bad' (layout(rgba32f ) uniform highp uimage2D)
2250:? 'i4bad' (layout(r8_snorm ) uniform highp iimage2D)
2260:? 'i5bad' (layout(rgba32ui ) uniform highp iimage2D)
2270:? 'i6bad' (layout(r8ui ) uniform highp iimage2D)
2280:? 'counter' (layout(binding=0 ) uniform highp atomic_uint)
2290:? 'counterBad' (layout(binding=1 ) uniform mediump atomic_uint)
John Kessenich265f5fb2014-08-13 01:04:28 +00002300:? 'countArr' (layout(binding=2 offset=4 ) uniform 4-element array of highp atomic_uint)
2310:? 'i' (uniform highp int)
John Kessenich3dd035b2014-08-12 22:08:45 +0000232
233
234Linked compute stage:
235
236
237Shader version: 310
238local_size = (2, 1, 4096)
239ERROR: node is still EOpNull!
2400:27 Function Definition: main( (void)
2410:27 Function Parameters:
2420:29 Sequence
2430:29 Barrier (void)
2440:30 MemoryBarrier (void)
2450:31 MemoryBarrierAtomicCounter (void)
2460:32 MemoryBarrierBuffer (void)
2470:33 MemoryBarrierShared (void)
2480:34 MemoryBarrierImage (void)
2490:35 GroupMemoryBarrier (void)
2500:36 move second child to first child (highp int)
2510:36 value: direct index for structure (layout(column_major shared ) buffer highp int)
2520:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
2530:36 Constant:
2540:36 0 (const uint)
2550:36 Convert float to int (highp int)
2560:36 indirect index (layout(column_major shared ) highp float)
2570:36 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float)
2580:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
2590:36 Constant:
2600:36 1 (const uint)
2610:36 'gl_LocalInvocationIndex' (in highp uint)
2620:59 Function Definition: foo( (void)
2630:59 Function Parameters:
2640:61 Sequence
2650:61 move second child to first child (highp float)
2660:61 direct index (layout(column_major shared ) highp float)
2670:61 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float)
2680:61 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
2690:61 Constant:
2700:61 1 (const int)
2710:61 Constant:
2720:61 2 (const int)
2730:61 Constant:
2740:61 4.700000
2750:62 array length (highp int)
2760:62 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of highp float)
2770:62 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
2780:62 Constant:
2790:62 1 (const int)
2800:63 Pre-Increment (highp 4-component vector of float)
2810:63 's' (shared highp 4-component vector of float)
2820:84 Function Definition: qux( (void)
2830:84 Function Parameters:
2840:86 Sequence
2850:86 Sequence
2860:86 move second child to first child (highp int)
2870:86 'i' (highp int)
2880:86 Constant:
2890:86 4 (const int)
2900:87 Constant:
2910:87 0.000000
2920:88 Constant:
2930:88 0.000000
2940:89 Constant:
2950:89 0.000000
2960:90 Constant:
2970:90 0.000000
2980:91 Sequence
2990:91 move second child to first child (highp 4-component vector of int)
3000:91 'pos' (highp 4-component vector of int)
3010:91 Function Call: imageLoad(iI21;vi2; (highp 4-component vector of int)
3020:91 'iimg2D' (layout(r32i ) uniform highp iimage2D)
3030:91 Construct ivec2 (2-component vector of int)
3040:91 'i' (highp int)
3050:91 'i' (highp int)
3060:92 Function Call: imageStore(iIA21;vi3;vi4; (highp void)
3070:92 'ii2da' (writeonly uniform highp iimage2DArray)
3080:92 Construct ivec3 (3-component vector of int)
3090:92 'i' (highp int)
3100:92 'i' (highp int)
3110:92 'i' (highp int)
3120:92 Constant:
3130:92 0 (const int)
3140:92 0 (const int)
3150:92 0 (const int)
3160:92 0 (const int)
3170:93 Function Call: imageLoad(I21;vi2; (highp 4-component vector of float)
3180:93 'img2Drgba' (layout(rgba32f ) uniform lowp image2D)
3190:93 Construct ivec2 (2-component vector of int)
3200:93 'i' (highp int)
3210:93 'i' (highp int)
3220:94 Function Call: imageLoad(iIA21;vi3; (highp 4-component vector of int)
3230:94 'ii2da' (writeonly uniform highp iimage2DArray)
3240:94 Construct ivec3 (3-component vector of int)
3250:94 'i' (highp int)
3260:94 'i' (highp int)
3270:94 'i' (highp int)
3280:100 Function Definition: passr(iI21; (void)
3290:100 Function Parameters:
3300:100 'image' (coherent readonly in highp iimage2D)
3310:107 Function Definition: passrc( (void)
3320:107 Function Parameters:
3330:109 Sequence
3340:109 Function Call: passr(iI21; (void)
3350:109 'qualim1' (layout(r32i ) coherent readonly uniform highp iimage2D)
3360:110 Function Call: passr(iI21; (void)
3370:110 'qualim2' (layout(r32i ) coherent restrict readonly uniform highp iimage2D)
3380:111 Function Call: passr(iI21; (void)
3390:111 'iimg2D' (layout(r32i ) uniform highp iimage2D)
3400:123 Function Definition: func(au1; (highp uint)
3410:123 Function Parameters:
3420:123 'c' (in highp atomic_uint)
3430:125 Sequence
3440:125 Branch: Return with expression
3450:125 Function Call: atomicCounterIncrement(au1; (highp uint)
3460:125 'c' (in highp atomic_uint)
3470:128 Function Definition: func2(au1; (highp uint)
3480:128 Function Parameters:
3490:128 'c' (out highp atomic_uint)
3500:130 Sequence
3510:130 Branch: Return with expression
3520:130 'counter' (layout(binding=0 ) uniform highp atomic_uint)
3530:131 Branch: Return with expression
3540:131 Function Call: atomicCounter(au1; (highp uint)
3550:131 'counter' (layout(binding=0 ) uniform highp atomic_uint)
3560:134 Function Definition: mainAC( (void)
3570:134 Function Parameters:
3580:? Sequence
3590:137 Sequence
3600:137 move second child to first child (highp uint)
3610:137 'val' (highp uint)
3620:137 Function Call: atomicCounter(au1; (highp uint)
3630:137 'counter' (layout(binding=0 ) uniform highp atomic_uint)
3640:138 Function Call: atomicCounterDecrement(au1; (highp uint)
3650:138 'counter' (layout(binding=0 ) uniform highp atomic_uint)
John Kessenich265f5fb2014-08-13 01:04:28 +00003660:146 Function Definition: opac( (void)
3670:146 Function Parameters:
3680:? Sequence
3690:149 indirect index (highp int)
3700:149 'a' (3-element array of highp int)
3710:149 'counter' (layout(binding=0 ) uniform highp atomic_uint)
3720:150 direct index (layout(binding=2 offset=4 ) highp atomic_uint)
3730:150 'countArr' (layout(binding=2 offset=4 ) uniform 4-element array of highp atomic_uint)
3740:150 Constant:
3750:150 2 (const int)
3760:151 indirect index (layout(binding=2 offset=4 ) highp atomic_uint)
3770:151 'countArr' (layout(binding=2 offset=4 ) uniform 4-element array of highp atomic_uint)
3780:151 'i' (uniform highp int)
John Kessenich3dd035b2014-08-12 22:08:45 +00003790:? Linker Objects
3800:? 'gl_WorkGroupSize' (const highp 3-component vector of uint)
3810:? 2 (const uint)
3820:? 1 (const uint)
3830:? 4096 (const uint)
3840:? 'total' (const highp int)
3850:? 66592 (const int)
3860:? 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
3870:? 'invalid' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer implicitly-sized array of highp float values, layout(column_major shared ) buffer highp int value})
3880:? 'v3' (layout(location=2 ) in highp 3-component vector of float)
3890:? 'f' (in highp float)
3900:? 'fo' (out highp float)
3910:? 's' (shared highp 4-component vector of float)
3920:? 'sl' (layout(location=2 ) shared highp 4-component vector of float)
3930:? 'fs' (shared highp float)
3940:? 'arrX' (2-element array of highp int)
3950:? 'arrY' (1-element array of highp int)
3960:? 'arrZ' (4096-element array of highp int)
3970:? 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer highp int value, layout(column_major shared ) buffer implicitly-sized array of highp float values})
3980:? 'v' (buffer highp 4-component vector of float)
3990:? 'us2dbad' (uniform mediump usampler2D)
4000:? 'us2d' (uniform highp usampler2D)
4010:? 'ii2dabad' (uniform highp iimage2DArray)
4020:? 'ii2da' (writeonly uniform highp iimage2DArray)
4030:? 'iimg2D' (layout(r32i ) uniform highp iimage2D)
4040:? 'iimg2Drgba' (layout(rgba32i ) uniform highp iimage2D)
4050:? 'img2Drgba' (layout(rgba32f ) uniform lowp image2D)
4060:? 'uimg2D' (layout(r32ui ) uniform highp uimage2D)
4070:? 'vol' (volatile highp float)
4080:? 'vol2' (readonly highp int)
4090:? 'qualim1' (layout(r32i ) coherent readonly uniform highp iimage2D)
4100:? 'qualim2' (layout(r32i ) coherent restrict readonly uniform highp iimage2D)
4110:? 'i1bad' (layout(rg8i ) uniform highp uimage2D)
4120:? 'i2bad' (layout(rgba32i ) uniform lowp image2D)
4130:? 'i3bad' (layout(rgba32f ) uniform highp uimage2D)
4140:? 'i4bad' (layout(r8_snorm ) uniform highp iimage2D)
4150:? 'i5bad' (layout(rgba32ui ) uniform highp iimage2D)
4160:? 'i6bad' (layout(r8ui ) uniform highp iimage2D)
4170:? 'counter' (layout(binding=0 ) uniform highp atomic_uint)
4180:? 'counterBad' (layout(binding=1 ) uniform mediump atomic_uint)
John Kessenich265f5fb2014-08-13 01:04:28 +00004190:? 'countArr' (layout(binding=2 offset=4 ) uniform 4-element array of highp atomic_uint)
4200:? 'i' (uniform highp int)
John Kessenich3dd035b2014-08-12 22:08:45 +0000421