blob: 398965939ab98e6f22f4a733d2d9828cb0c58615 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001430.comp
2Warning, version 430 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:43: 'in' : global storage input qualifier cannot be used in a compute shader
6ERROR: 0:43: 'location qualifier on input' : not supported in this stage: compute
7ERROR: 0:44: 'in' : global storage input qualifier cannot be used in a compute shader
8ERROR: 0:45: 'out' : global storage output qualifier cannot be used in a compute shader
9ERROR: 0:48: 'shared' : cannot apply layout qualifiers to a shared variable
10ERROR: 0:48: 'location' : can only appy to uniform, buffer, in, or out storage qualifiers
11ERROR: 0:49: 'shared' : cannot initialize this type of qualifier
12ERROR: 0:51: 'local_size' : can only apply to 'in'
13ERROR: 0:51: 'local_size' : can only apply to 'in'
14ERROR: 0:51: 'local_size' : can only apply to 'in'
15ERROR: 0:65: 'assign' : l-value required "ro" (can't modify a readonly buffer)
16ERROR: 0:77: '=' : cannot convert from 'temp double' to 'temp int'
17ERROR: 0:81: 'input block' : not supported in this stage: compute
18ERROR: 0:85: 'output block' : not supported in this stage: compute
19ERROR: 16 compilation errors. No code generated.
20
21
22Shader version: 430
23local_size = (2, 1, 4096)
24ERROR: node is still EOpNull!
250:27 Function Definition: main( (global void)
260:27 Function Parameters:
270:29 Sequence
280:29 Barrier (global void)
290:30 MemoryBarrier (global void)
300:31 MemoryBarrierAtomicCounter (global void)
310:32 MemoryBarrierBuffer (global void)
320:33 MemoryBarrierShared (global void)
330:34 MemoryBarrierImage (global void)
340:35 GroupMemoryBarrier (global void)
350:36 move second child to first child (temp int)
360:36 value: direct index for structure (layout(column_major shared ) buffer int)
370:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
380:36 Constant:
390:36 0 (const uint)
400:36 Convert float to int (temp int)
410:36 indirect index (layout(column_major shared ) temp float)
420:36 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
430:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
440:36 Constant:
450:36 1 (const uint)
460:36 'gl_LocalInvocationIndex' (in uint LocalInvocationIndex)
470:39 Test condition and select (temp void)
480:39 Condition
490:39 Compare Greater Than (temp bool)
500:39 'a' (temp int)
510:39 Constant:
520:39 10 (const int)
530:39 true case
540:40 Barrier (global void)
550:63 Function Definition: foo( (global void)
560:63 Function Parameters:
570:65 Sequence
580:65 move second child to first child (temp float)
590:65 direct index (layout(column_major shared ) temp float)
600:65 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
610:65 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
620:65 Constant:
630:65 1 (const int)
640:65 Constant:
650:65 2 (const int)
660:65 Constant:
670:65 4.700000
680:66 array length (temp int)
690:66 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
700:66 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
710:66 Constant:
720:66 1 (const int)
730:67 Barrier (global void)
740:72 Function Definition: fooaoeu( (global void)
750:72 Function Parameters:
760:73 Sequence
770:73 Sequence
780:73 move second child to first child (temp 2-component vector of int)
790:73 'storePos' (temp 2-component vector of int)
800:73 Convert uint to int (temp 2-component vector of int)
810:73 vector swizzle (temp 2-component vector of uint)
820:73 'gl_GlobalInvocationID' (in 3-component vector of uint GlobalInvocationID)
830:73 Sequence
840:73 Constant:
850:73 0 (const int)
860:73 Constant:
870:73 1 (const int)
880:74 Sequence
890:74 move second child to first child (temp double)
900:74 'localCoef' (temp double)
910:74 Convert float to double (temp double)
920:74 length (global float)
930:74 divide (temp 2-component vector of float)
940:74 Convert int to float (temp 2-component vector of float)
950:74 subtract (temp 2-component vector of int)
960:74 Convert uint to int (temp 2-component vector of int)
970:74 vector swizzle (temp 2-component vector of uint)
980:74 'gl_LocalInvocationID' (in 3-component vector of uint LocalInvocationID)
990:74 Sequence
1000:74 Constant:
1010:74 0 (const int)
1020:74 Constant:
1030:74 1 (const int)
1040:74 Constant:
1050:74 8 (const int)
1060:74 Constant:
1070:74 8.000000
1080:75 Sequence
1090:75 move second child to first child (temp 4-component vector of double)
1100:75 'aa' (temp 4-component vector of double)
1110:75 Constant:
1120:75 0.400000
1130:75 0.200000
1140:75 0.300000
1150:75 0.400000
1160:76 Sequence
1170:76 move second child to first child (temp double)
1180:76 'globalCoef' (temp double)
1190:76 Constant:
1200:76 1.000000
1210:78 Sequence
1220:78 move second child to first child (temp double)
1230:78 'di' (temp double)
1240:78 Convert int to double (temp double)
1250:78 'i' (temp int)
1260:? Linker Objects
1270:? 'gl_WorkGroupSize' (const 3-component vector of uint WorkGroupSize)
1280:? 2 (const uint)
1290:? 1 (const uint)
1300:? 4096 (const uint)
1310:? 'total' (const int)
1320:? 66592 (const int)
1330:? 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
1340:? 'invalid' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer implicitly-sized array of float values, layout(column_major shared ) buffer int value})
1350:? 'v3' (layout(location=2 ) in 3-component vector of float)
1360:? 'f' (in float)
1370:? 'fo' (out float)
1380:? 's' (shared 4-component vector of float)
1390:? 'sl' (layout(location=2 ) shared 4-component vector of float)
1400:? 'fs' (shared float)
1410:? 'arrX' (global 2-element array of int)
1420:? 'arrY' (global 1-element array of int)
1430:? 'arrZ' (global 4096-element array of int)
1440:? 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
1450:? 'roll' (uniform double)
1460:? 'destTex' (writeonly uniform image2D)
1470:? 'inbi' (in block{in int a})
1480:? 'outbi' (out block{out int a})
149
150
151Linked compute stage:
152
153
154Shader version: 430
155local_size = (2, 1, 4096)
156ERROR: node is still EOpNull!
1570:27 Function Definition: main( (global void)
1580:27 Function Parameters:
1590:29 Sequence
1600:29 Barrier (global void)
1610:30 MemoryBarrier (global void)
1620:31 MemoryBarrierAtomicCounter (global void)
1630:32 MemoryBarrierBuffer (global void)
1640:33 MemoryBarrierShared (global void)
1650:34 MemoryBarrierImage (global void)
1660:35 GroupMemoryBarrier (global void)
1670:36 move second child to first child (temp int)
1680:36 value: direct index for structure (layout(column_major shared ) buffer int)
1690:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
1700:36 Constant:
1710:36 0 (const uint)
1720:36 Convert float to int (temp int)
1730:36 indirect index (layout(column_major shared ) temp float)
1740:36 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
1750:36 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
1760:36 Constant:
1770:36 1 (const uint)
1780:36 'gl_LocalInvocationIndex' (in uint LocalInvocationIndex)
1790:39 Test condition and select (temp void)
1800:39 Condition
1810:39 Compare Greater Than (temp bool)
1820:39 'a' (temp int)
1830:39 Constant:
1840:39 10 (const int)
1850:39 true case
1860:40 Barrier (global void)
1870:63 Function Definition: foo( (global void)
1880:63 Function Parameters:
1890:65 Sequence
1900:65 move second child to first child (temp float)
1910:65 direct index (layout(column_major shared ) temp float)
1920:65 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
1930:65 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
1940:65 Constant:
1950:65 1 (const int)
1960:65 Constant:
1970:65 2 (const int)
1980:65 Constant:
1990:65 4.700000
2000:66 array length (temp int)
2010:66 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
2020:66 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
2030:66 Constant:
2040:66 1 (const int)
2050:67 Barrier (global void)
2060:72 Function Definition: fooaoeu( (global void)
2070:72 Function Parameters:
2080:73 Sequence
2090:73 Sequence
2100:73 move second child to first child (temp 2-component vector of int)
2110:73 'storePos' (temp 2-component vector of int)
2120:73 Convert uint to int (temp 2-component vector of int)
2130:73 vector swizzle (temp 2-component vector of uint)
2140:73 'gl_GlobalInvocationID' (in 3-component vector of uint GlobalInvocationID)
2150:73 Sequence
2160:73 Constant:
2170:73 0 (const int)
2180:73 Constant:
2190:73 1 (const int)
2200:74 Sequence
2210:74 move second child to first child (temp double)
2220:74 'localCoef' (temp double)
2230:74 Convert float to double (temp double)
2240:74 length (global float)
2250:74 divide (temp 2-component vector of float)
2260:74 Convert int to float (temp 2-component vector of float)
2270:74 subtract (temp 2-component vector of int)
2280:74 Convert uint to int (temp 2-component vector of int)
2290:74 vector swizzle (temp 2-component vector of uint)
2300:74 'gl_LocalInvocationID' (in 3-component vector of uint LocalInvocationID)
2310:74 Sequence
2320:74 Constant:
2330:74 0 (const int)
2340:74 Constant:
2350:74 1 (const int)
2360:74 Constant:
2370:74 8 (const int)
2380:74 Constant:
2390:74 8.000000
2400:75 Sequence
2410:75 move second child to first child (temp 4-component vector of double)
2420:75 'aa' (temp 4-component vector of double)
2430:75 Constant:
2440:75 0.400000
2450:75 0.200000
2460:75 0.300000
2470:75 0.400000
2480:76 Sequence
2490:76 move second child to first child (temp double)
2500:76 'globalCoef' (temp double)
2510:76 Constant:
2520:76 1.000000
2530:78 Sequence
2540:78 move second child to first child (temp double)
2550:78 'di' (temp double)
2560:78 Convert int to double (temp double)
2570:78 'i' (temp int)
2580:? Linker Objects
2590:? 'gl_WorkGroupSize' (const 3-component vector of uint WorkGroupSize)
2600:? 2 (const uint)
2610:? 1 (const uint)
2620:? 4096 (const uint)
2630:? 'total' (const int)
2640:? 66592 (const int)
2650:? 'anon@0' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
2660:? 'invalid' (layout(column_major shared ) buffer block{layout(column_major shared ) buffer implicitly-sized array of float values, layout(column_major shared ) buffer int value})
2670:? 'v3' (layout(location=2 ) in 3-component vector of float)
2680:? 'f' (in float)
2690:? 'fo' (out float)
2700:? 's' (shared 4-component vector of float)
2710:? 'sl' (layout(location=2 ) shared 4-component vector of float)
2720:? 'fs' (shared float)
2730:? 'arrX' (global 2-element array of int)
2740:? 'arrY' (global 1-element array of int)
2750:? 'arrZ' (global 4096-element array of int)
2760:? 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
2770:? 'roll' (uniform double)
2780:? 'destTex' (writeonly uniform image2D)
2790:? 'inbi' (in block{in int a})
2800:? 'outbi' (out block{out int a})
281