John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame^] | 1 | 430.comp |
| 2 | Warning, version 430 is not yet complete; most version-specific features are present, but some are missing. |
| 3 | ERROR: 0:4: 'local_size' : cannot change previously set size |
| 4 | ERROR: 0:5: 'local_size' : too large; see gl_MaxComputeWorkGroupSize |
| 5 | ERROR: 0:43: 'in' : global storage input qualifier cannot be used in a compute shader |
| 6 | ERROR: 0:43: 'location qualifier on input' : not supported in this stage: compute |
| 7 | ERROR: 0:44: 'in' : global storage input qualifier cannot be used in a compute shader |
| 8 | ERROR: 0:45: 'out' : global storage output qualifier cannot be used in a compute shader |
| 9 | ERROR: 0:48: 'shared' : cannot apply layout qualifiers to a shared variable |
| 10 | ERROR: 0:48: 'location' : can only appy to uniform, buffer, in, or out storage qualifiers |
| 11 | ERROR: 0:49: 'shared' : cannot initialize this type of qualifier |
| 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:51: 'local_size' : can only apply to 'in' |
| 15 | ERROR: 0:65: 'assign' : l-value required "ro" (can't modify a readonly buffer) |
| 16 | ERROR: 0:77: '=' : cannot convert from 'temp double' to 'temp int' |
| 17 | ERROR: 0:81: 'input block' : not supported in this stage: compute |
| 18 | ERROR: 0:85: 'output block' : not supported in this stage: compute |
| 19 | ERROR: 16 compilation errors. No code generated. |
| 20 | |
| 21 | |
| 22 | Shader version: 430 |
| 23 | local_size = (2, 1, 4096) |
| 24 | ERROR: node is still EOpNull! |
| 25 | 0:27 Function Definition: main( (global void) |
| 26 | 0:27 Function Parameters: |
| 27 | 0:29 Sequence |
| 28 | 0:29 Barrier (global void) |
| 29 | 0:30 MemoryBarrier (global void) |
| 30 | 0:31 MemoryBarrierAtomicCounter (global void) |
| 31 | 0:32 MemoryBarrierBuffer (global void) |
| 32 | 0:33 MemoryBarrierShared (global void) |
| 33 | 0:34 MemoryBarrierImage (global void) |
| 34 | 0:35 GroupMemoryBarrier (global void) |
| 35 | 0:36 move second child to first child (temp int) |
| 36 | 0:36 value: direct index for structure (layout(column_major shared ) buffer int) |
| 37 | 0: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}) |
| 38 | 0:36 Constant: |
| 39 | 0:36 0 (const uint) |
| 40 | 0:36 Convert float to int (temp int) |
| 41 | 0:36 indirect index (layout(column_major shared ) temp float) |
| 42 | 0:36 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float) |
| 43 | 0: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}) |
| 44 | 0:36 Constant: |
| 45 | 0:36 1 (const uint) |
| 46 | 0:36 'gl_LocalInvocationIndex' (in uint LocalInvocationIndex) |
| 47 | 0:39 Test condition and select (temp void) |
| 48 | 0:39 Condition |
| 49 | 0:39 Compare Greater Than (temp bool) |
| 50 | 0:39 'a' (temp int) |
| 51 | 0:39 Constant: |
| 52 | 0:39 10 (const int) |
| 53 | 0:39 true case |
| 54 | 0:40 Barrier (global void) |
| 55 | 0:63 Function Definition: foo( (global void) |
| 56 | 0:63 Function Parameters: |
| 57 | 0:65 Sequence |
| 58 | 0:65 move second child to first child (temp float) |
| 59 | 0:65 direct index (layout(column_major shared ) temp float) |
| 60 | 0:65 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float) |
| 61 | 0: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}) |
| 62 | 0:65 Constant: |
| 63 | 0:65 1 (const int) |
| 64 | 0:65 Constant: |
| 65 | 0:65 2 (const int) |
| 66 | 0:65 Constant: |
| 67 | 0:65 4.700000 |
| 68 | 0:66 array length (temp int) |
| 69 | 0:66 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float) |
| 70 | 0: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}) |
| 71 | 0:66 Constant: |
| 72 | 0:66 1 (const int) |
| 73 | 0:67 Barrier (global void) |
| 74 | 0:72 Function Definition: fooaoeu( (global void) |
| 75 | 0:72 Function Parameters: |
| 76 | 0:73 Sequence |
| 77 | 0:73 Sequence |
| 78 | 0:73 move second child to first child (temp 2-component vector of int) |
| 79 | 0:73 'storePos' (temp 2-component vector of int) |
| 80 | 0:73 Convert uint to int (temp 2-component vector of int) |
| 81 | 0:73 vector swizzle (temp 2-component vector of uint) |
| 82 | 0:73 'gl_GlobalInvocationID' (in 3-component vector of uint GlobalInvocationID) |
| 83 | 0:73 Sequence |
| 84 | 0:73 Constant: |
| 85 | 0:73 0 (const int) |
| 86 | 0:73 Constant: |
| 87 | 0:73 1 (const int) |
| 88 | 0:74 Sequence |
| 89 | 0:74 move second child to first child (temp double) |
| 90 | 0:74 'localCoef' (temp double) |
| 91 | 0:74 Convert float to double (temp double) |
| 92 | 0:74 length (global float) |
| 93 | 0:74 divide (temp 2-component vector of float) |
| 94 | 0:74 Convert int to float (temp 2-component vector of float) |
| 95 | 0:74 subtract (temp 2-component vector of int) |
| 96 | 0:74 Convert uint to int (temp 2-component vector of int) |
| 97 | 0:74 vector swizzle (temp 2-component vector of uint) |
| 98 | 0:74 'gl_LocalInvocationID' (in 3-component vector of uint LocalInvocationID) |
| 99 | 0:74 Sequence |
| 100 | 0:74 Constant: |
| 101 | 0:74 0 (const int) |
| 102 | 0:74 Constant: |
| 103 | 0:74 1 (const int) |
| 104 | 0:74 Constant: |
| 105 | 0:74 8 (const int) |
| 106 | 0:74 Constant: |
| 107 | 0:74 8.000000 |
| 108 | 0:75 Sequence |
| 109 | 0:75 move second child to first child (temp 4-component vector of double) |
| 110 | 0:75 'aa' (temp 4-component vector of double) |
| 111 | 0:75 Constant: |
| 112 | 0:75 0.400000 |
| 113 | 0:75 0.200000 |
| 114 | 0:75 0.300000 |
| 115 | 0:75 0.400000 |
| 116 | 0:76 Sequence |
| 117 | 0:76 move second child to first child (temp double) |
| 118 | 0:76 'globalCoef' (temp double) |
| 119 | 0:76 Constant: |
| 120 | 0:76 1.000000 |
| 121 | 0:78 Sequence |
| 122 | 0:78 move second child to first child (temp double) |
| 123 | 0:78 'di' (temp double) |
| 124 | 0:78 Convert int to double (temp double) |
| 125 | 0:78 'i' (temp int) |
| 126 | 0:? Linker Objects |
| 127 | 0:? 'gl_WorkGroupSize' (const 3-component vector of uint WorkGroupSize) |
| 128 | 0:? 2 (const uint) |
| 129 | 0:? 1 (const uint) |
| 130 | 0:? 4096 (const uint) |
| 131 | 0:? 'total' (const int) |
| 132 | 0:? 66592 (const int) |
| 133 | 0:? '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}) |
| 134 | 0:? '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}) |
| 135 | 0:? 'v3' (layout(location=2 ) in 3-component vector of float) |
| 136 | 0:? 'f' (in float) |
| 137 | 0:? 'fo' (out float) |
| 138 | 0:? 's' (shared 4-component vector of float) |
| 139 | 0:? 'sl' (layout(location=2 ) shared 4-component vector of float) |
| 140 | 0:? 'fs' (shared float) |
| 141 | 0:? 'arrX' (global 2-element array of int) |
| 142 | 0:? 'arrY' (global 1-element array of int) |
| 143 | 0:? 'arrZ' (global 4096-element array of int) |
| 144 | 0:? '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}) |
| 145 | 0:? 'roll' (uniform double) |
| 146 | 0:? 'destTex' (writeonly uniform image2D) |
| 147 | 0:? 'inbi' (in block{in int a}) |
| 148 | 0:? 'outbi' (out block{out int a}) |
| 149 | |
| 150 | |
| 151 | Linked compute stage: |
| 152 | |
| 153 | |
| 154 | Shader version: 430 |
| 155 | local_size = (2, 1, 4096) |
| 156 | ERROR: node is still EOpNull! |
| 157 | 0:27 Function Definition: main( (global void) |
| 158 | 0:27 Function Parameters: |
| 159 | 0:29 Sequence |
| 160 | 0:29 Barrier (global void) |
| 161 | 0:30 MemoryBarrier (global void) |
| 162 | 0:31 MemoryBarrierAtomicCounter (global void) |
| 163 | 0:32 MemoryBarrierBuffer (global void) |
| 164 | 0:33 MemoryBarrierShared (global void) |
| 165 | 0:34 MemoryBarrierImage (global void) |
| 166 | 0:35 GroupMemoryBarrier (global void) |
| 167 | 0:36 move second child to first child (temp int) |
| 168 | 0:36 value: direct index for structure (layout(column_major shared ) buffer int) |
| 169 | 0: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}) |
| 170 | 0:36 Constant: |
| 171 | 0:36 0 (const uint) |
| 172 | 0:36 Convert float to int (temp int) |
| 173 | 0:36 indirect index (layout(column_major shared ) temp float) |
| 174 | 0:36 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float) |
| 175 | 0: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}) |
| 176 | 0:36 Constant: |
| 177 | 0:36 1 (const uint) |
| 178 | 0:36 'gl_LocalInvocationIndex' (in uint LocalInvocationIndex) |
| 179 | 0:39 Test condition and select (temp void) |
| 180 | 0:39 Condition |
| 181 | 0:39 Compare Greater Than (temp bool) |
| 182 | 0:39 'a' (temp int) |
| 183 | 0:39 Constant: |
| 184 | 0:39 10 (const int) |
| 185 | 0:39 true case |
| 186 | 0:40 Barrier (global void) |
| 187 | 0:63 Function Definition: foo( (global void) |
| 188 | 0:63 Function Parameters: |
| 189 | 0:65 Sequence |
| 190 | 0:65 move second child to first child (temp float) |
| 191 | 0:65 direct index (layout(column_major shared ) temp float) |
| 192 | 0:65 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float) |
| 193 | 0: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}) |
| 194 | 0:65 Constant: |
| 195 | 0:65 1 (const int) |
| 196 | 0:65 Constant: |
| 197 | 0:65 2 (const int) |
| 198 | 0:65 Constant: |
| 199 | 0:65 4.700000 |
| 200 | 0:66 array length (temp int) |
| 201 | 0:66 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float) |
| 202 | 0: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}) |
| 203 | 0:66 Constant: |
| 204 | 0:66 1 (const int) |
| 205 | 0:67 Barrier (global void) |
| 206 | 0:72 Function Definition: fooaoeu( (global void) |
| 207 | 0:72 Function Parameters: |
| 208 | 0:73 Sequence |
| 209 | 0:73 Sequence |
| 210 | 0:73 move second child to first child (temp 2-component vector of int) |
| 211 | 0:73 'storePos' (temp 2-component vector of int) |
| 212 | 0:73 Convert uint to int (temp 2-component vector of int) |
| 213 | 0:73 vector swizzle (temp 2-component vector of uint) |
| 214 | 0:73 'gl_GlobalInvocationID' (in 3-component vector of uint GlobalInvocationID) |
| 215 | 0:73 Sequence |
| 216 | 0:73 Constant: |
| 217 | 0:73 0 (const int) |
| 218 | 0:73 Constant: |
| 219 | 0:73 1 (const int) |
| 220 | 0:74 Sequence |
| 221 | 0:74 move second child to first child (temp double) |
| 222 | 0:74 'localCoef' (temp double) |
| 223 | 0:74 Convert float to double (temp double) |
| 224 | 0:74 length (global float) |
| 225 | 0:74 divide (temp 2-component vector of float) |
| 226 | 0:74 Convert int to float (temp 2-component vector of float) |
| 227 | 0:74 subtract (temp 2-component vector of int) |
| 228 | 0:74 Convert uint to int (temp 2-component vector of int) |
| 229 | 0:74 vector swizzle (temp 2-component vector of uint) |
| 230 | 0:74 'gl_LocalInvocationID' (in 3-component vector of uint LocalInvocationID) |
| 231 | 0:74 Sequence |
| 232 | 0:74 Constant: |
| 233 | 0:74 0 (const int) |
| 234 | 0:74 Constant: |
| 235 | 0:74 1 (const int) |
| 236 | 0:74 Constant: |
| 237 | 0:74 8 (const int) |
| 238 | 0:74 Constant: |
| 239 | 0:74 8.000000 |
| 240 | 0:75 Sequence |
| 241 | 0:75 move second child to first child (temp 4-component vector of double) |
| 242 | 0:75 'aa' (temp 4-component vector of double) |
| 243 | 0:75 Constant: |
| 244 | 0:75 0.400000 |
| 245 | 0:75 0.200000 |
| 246 | 0:75 0.300000 |
| 247 | 0:75 0.400000 |
| 248 | 0:76 Sequence |
| 249 | 0:76 move second child to first child (temp double) |
| 250 | 0:76 'globalCoef' (temp double) |
| 251 | 0:76 Constant: |
| 252 | 0:76 1.000000 |
| 253 | 0:78 Sequence |
| 254 | 0:78 move second child to first child (temp double) |
| 255 | 0:78 'di' (temp double) |
| 256 | 0:78 Convert int to double (temp double) |
| 257 | 0:78 'i' (temp int) |
| 258 | 0:? Linker Objects |
| 259 | 0:? 'gl_WorkGroupSize' (const 3-component vector of uint WorkGroupSize) |
| 260 | 0:? 2 (const uint) |
| 261 | 0:? 1 (const uint) |
| 262 | 0:? 4096 (const uint) |
| 263 | 0:? 'total' (const int) |
| 264 | 0:? 66592 (const int) |
| 265 | 0:? '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}) |
| 266 | 0:? '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}) |
| 267 | 0:? 'v3' (layout(location=2 ) in 3-component vector of float) |
| 268 | 0:? 'f' (in float) |
| 269 | 0:? 'fo' (out float) |
| 270 | 0:? 's' (shared 4-component vector of float) |
| 271 | 0:? 'sl' (layout(location=2 ) shared 4-component vector of float) |
| 272 | 0:? 'fs' (shared float) |
| 273 | 0:? 'arrX' (global 2-element array of int) |
| 274 | 0:? 'arrY' (global 1-element array of int) |
| 275 | 0:? 'arrZ' (global 4096-element array of int) |
| 276 | 0:? '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}) |
| 277 | 0:? 'roll' (uniform double) |
| 278 | 0:? 'destTex' (writeonly uniform image2D) |
| 279 | 0:? 'inbi' (in block{in int a}) |
| 280 | 0:? 'outbi' (out block{out int a}) |
| 281 | |