1 430.comp 2 ERROR: 0:4: 'local_size' : cannot change previously set size 3 ERROR: 0:5: 'local_size' : too large; see gl_MaxComputeWorkGroupSize 4 ERROR: 0:43: 'in' : global storage input qualifier cannot be used in a compute shader 5 ERROR: 0:43: 'location qualifier on input' : not supported in this stage: compute 6 ERROR: 0:44: 'in' : global storage input qualifier cannot be used in a compute shader 7 ERROR: 0:45: 'out' : global storage output qualifier cannot be used in a compute shader 8 ERROR: 0:48: 'shared' : cannot apply layout qualifiers to a shared variable 9 ERROR: 0:48: 'location' : can only apply to uniform, buffer, in, or out storage qualifiers 10 ERROR: 0:49: 'shared' : cannot initialize this type of qualifier 11 ERROR: 0:51: 'local_size' : can only apply to 'in' 12 ERROR: 0:51: 'local_size' : can only apply to 'in' 13 ERROR: 0:51: 'local_size' : can only apply to 'in' 14 ERROR: 0:65: 'assign' : l-value required "ro" (can't modify a readonly buffer) 15 ERROR: 0:77: '=' : cannot convert from ' temp double' to ' temp int' 16 ERROR: 0:81: 'input block' : not supported in this stage: compute 17 ERROR: 0:85: 'output block' : not supported in this stage: compute 18 ERROR: 16 compilation errors. No code generated. 19 20 21 Shader version: 430 22 local_size = (2, 1, 4096) 23 ERROR: node is still EOpNull! 24 0:27 Function Definition: main( ( global void) 25 0:27 Function Parameters: 26 0:29 Sequence 27 0:29 Barrier ( global void) 28 0:30 MemoryBarrier ( global void) 29 0:31 MemoryBarrierAtomicCounter ( global void) 30 0:32 MemoryBarrierBuffer ( global void) 31 0:33 MemoryBarrierShared ( global void) 32 0:34 MemoryBarrierImage ( global void) 33 0:35 GroupMemoryBarrier ( global void) 34 0:36 move second child to first child ( temp int) 35 0:36 value: direct index for structure (layout( column_major shared) buffer int) 36 0:36 'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values}) 37 0:36 Constant: 38 0:36 0 (const uint) 39 0:36 Convert float to int ( temp int) 40 0:36 indirect index (layout( column_major shared) temp float) 41 0:36 values: direct index for structure (layout( column_major shared) buffer runtime-sized array of float) 42 0:36 'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values}) 43 0:36 Constant: 44 0:36 1 (const uint) 45 0:36 'gl_LocalInvocationIndex' ( in uint LocalInvocationIndex) 46 0:39 Test condition and select ( temp void) 47 0:39 Condition 48 0:39 Compare Greater Than ( temp bool) 49 0:39 'a' ( temp int) 50 0:39 Constant: 51 0:39 10 (const int) 52 0:39 true case 53 0:40 Barrier ( global void) 54 0:63 Function Definition: foo( ( global void) 55 0:63 Function Parameters: 56 0:65 Sequence 57 0:65 move second child to first child ( temp float) 58 0:65 direct index (layout( column_major shared) temp float) 59 0:65 values: direct index for structure (layout( column_major shared) buffer unsized 3-element array of float) 60 0:65 'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer unsized 3-element array of float values}) 61 0:65 Constant: 62 0:65 1 (const int) 63 0:65 Constant: 64 0:65 2 (const int) 65 0:65 Constant: 66 0:65 4.700000 67 0:66 array length ( temp int) 68 0:66 values: direct index for structure (layout( column_major shared) buffer unsized 3-element array of float) 69 0:66 'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer unsized 3-element array of float values}) 70 0:66 Constant: 71 0:66 1 (const int) 72 0:67 Barrier ( global void) 73 0:72 Function Definition: fooaoeu( ( global void) 74 0:72 Function Parameters: 75 0:73 Sequence 76 0:73 Sequence 77 0:73 move second child to first child ( temp 2-component vector of int) 78 0:73 'storePos' ( temp 2-component vector of int) 79 0:73 Convert uint to int ( temp 2-component vector of int) 80 0:73 vector swizzle ( temp 2-component vector of uint) 81 0:73 'gl_GlobalInvocationID' ( in 3-component vector of uint GlobalInvocationID) 82 0:73 Sequence 83 0:73 Constant: 84 0:73 0 (const int) 85 0:73 Constant: 86 0:73 1 (const int) 87 0:74 Sequence 88 0:74 move second child to first child ( temp double) 89 0:74 'localCoef' ( temp double) 90 0:74 Convert float to double ( temp double) 91 0:74 length ( global float) 92 0:74 divide ( temp 2-component vector of float) 93 0:74 Convert int to float ( temp 2-component vector of float) 94 0:74 subtract ( temp 2-component vector of int) 95 0:74 Convert uint to int ( temp 2-component vector of int) 96 0:74 vector swizzle ( temp 2-component vector of uint) 97 0:74 'gl_LocalInvocationID' ( in 3-component vector of uint LocalInvocationID) 98 0:74 Sequence 99 0:74 Constant: 100 0:74 0 (const int) 101 0:74 Constant: 102 0:74 1 (const int) 103 0:74 Constant: 104 0:74 8 (const int) 105 0:74 Constant: 106 0:74 8.000000 107 0:75 Sequence 108 0:75 move second child to first child ( temp 4-component vector of double) 109 0:75 'aa' ( temp 4-component vector of double) 110 0:75 Constant: 111 0:75 0.400000 112 0:75 0.200000 113 0:75 0.300000 114 0:75 0.400000 115 0:76 Sequence 116 0:76 move second child to first child ( temp double) 117 0:76 'globalCoef' ( temp double) 118 0:76 Constant: 119 0:76 1.000000 120 0:78 Sequence 121 0:78 move second child to first child ( temp double) 122 0:78 'di' ( temp double) 123 0:78 Convert int to double ( temp double) 124 0:78 'i' ( temp int) 125 0:? Linker Objects 126 0:? 'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize) 127 0:? 2 (const uint) 128 0:? 1 (const uint) 129 0:? 4096 (const uint) 130 0:? 'total' ( const int) 131 0:? 66592 (const int) 132 0:? 'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values}) 133 0:? 'invalid' (layout( column_major shared) buffer block{layout( column_major shared) buffer unsized 1-element array of float values, layout( column_major shared) buffer int value}) 134 0:? 'v3' (layout( location=2) in 3-component vector of float) 135 0:? 'f' ( in float) 136 0:? 'fo' ( out float) 137 0:? 's' ( shared 4-component vector of float) 138 0:? 'sl' (layout( location=2) shared 4-component vector of float) 139 0:? 'fs' ( shared float) 140 0:? 'arrX' ( global 2-element array of int) 141 0:? 'arrY' ( global 1-element array of int) 142 0:? 'arrZ' ( global 4096-element array of int) 143 0:? 'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer unsized 3-element array of float values}) 144 0:? 'roll' ( uniform double) 145 0:? 'destTex' ( writeonly uniform image2D) 146 0:? 'inbi' ( in block{ in int a}) 147 0:? 'outbi' ( out block{ out int a}) 148 149 150 Linked compute stage: 151 152 153 Shader version: 430 154 local_size = (2, 1, 4096) 155 ERROR: node is still EOpNull! 156 0:27 Function Definition: main( ( global void) 157 0:27 Function Parameters: 158 0:29 Sequence 159 0:29 Barrier ( global void) 160 0:30 MemoryBarrier ( global void) 161 0:31 MemoryBarrierAtomicCounter ( global void) 162 0:32 MemoryBarrierBuffer ( global void) 163 0:33 MemoryBarrierShared ( global void) 164 0:34 MemoryBarrierImage ( global void) 165 0:35 GroupMemoryBarrier ( global void) 166 0:36 move second child to first child ( temp int) 167 0:36 value: direct index for structure (layout( column_major shared) buffer int) 168 0:36 'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values}) 169 0:36 Constant: 170 0:36 0 (const uint) 171 0:36 Convert float to int ( temp int) 172 0:36 indirect index (layout( column_major shared) temp float) 173 0:36 values: direct index for structure (layout( column_major shared) buffer runtime-sized array of float) 174 0:36 'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values}) 175 0:36 Constant: 176 0:36 1 (const uint) 177 0:36 'gl_LocalInvocationIndex' ( in uint LocalInvocationIndex) 178 0:39 Test condition and select ( temp void) 179 0:39 Condition 180 0:39 Compare Greater Than ( temp bool) 181 0:39 'a' ( temp int) 182 0:39 Constant: 183 0:39 10 (const int) 184 0:39 true case 185 0:40 Barrier ( global void) 186 0:? Linker Objects 187 0:? 'gl_WorkGroupSize' ( const 3-component vector of uint WorkGroupSize) 188 0:? 2 (const uint) 189 0:? 1 (const uint) 190 0:? 4096 (const uint) 191 0:? 'total' ( const int) 192 0:? 66592 (const int) 193 0:? 'anon@0' (layout( column_major shared) buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer runtime-sized array of float values}) 194 0:? 'invalid' (layout( column_major shared) buffer block{layout( column_major shared) buffer 1-element array of float values, layout( column_major shared) buffer int value}) 195 0:? 'v3' (layout( location=2) in 3-component vector of float) 196 0:? 'f' ( in float) 197 0:? 'fo' ( out float) 198 0:? 's' ( shared 4-component vector of float) 199 0:? 'sl' (layout( location=2) shared 4-component vector of float) 200 0:? 'fs' ( shared float) 201 0:? 'arrX' ( global 2-element array of int) 202 0:? 'arrY' ( global 1-element array of int) 203 0:? 'arrZ' ( global 4096-element array of int) 204 0:? 'ro' (layout( column_major shared) readonly buffer block{layout( column_major shared) buffer int value, layout( column_major shared) buffer unsized 3-element array of float values}) 205 0:? 'roll' ( uniform double) 206 0:? 'destTex' ( writeonly uniform image2D) 207 0:? 'inbi' ( in block{ in int a}) 208 0:? 'outbi' ( out block{ out int a}) 209 210