1### Compilation failed: 2 3error: 9: unsized arrays are not permitted here 4 SomeData[] inputData; 5 ^^ 6error: 6: interface blocks are not allowed in this kind of program 7layout(set=0, binding=0) readonly buffer storageBuffer 8 ^^^^^^^^^^^^^ 9error: 14: unsized arrays are not permitted here 10 SomeData[] outputData; 11 ^^ 12error: 12: interface blocks are not allowed in this kind of program 13layout(set=0, binding=1) buffer outputBuffer 14 ^^^^^^^^^^^^ 15error: 17: 'in' is not permitted here 16layout(location=2) in flat int bufferIndex; 17^^^^^^^^^^^^^^^^^^^^^^^^^^ 18error: 17: 'flat' is not permitted here 19layout(location=2) in flat int bufferIndex; 20^^^^^^^^^^^^^^^^^^^^^^^^^^ 21error: 17: layout qualifier 'location' is not permitted here 22layout(location=2) in flat int bufferIndex; 23^^^^^^^^^^^^^^^^^^^^^^^^^^ 24error: 20: unknown identifier 'outputData' 25 outputData[offset] = inputData[offset]; 26 ^^^^^^^^^^ 27error: 20: unknown identifier 'offset' 28 outputData[offset] = inputData[offset]; 29 ^^^^^^ 30error: 20: unknown identifier 'inputData' 31 outputData[offset] = inputData[offset]; 32 ^^^^^^^^^ 33error: 20: unknown identifier 'offset' 34 outputData[offset] = inputData[offset]; 35 ^^^^^^ 36error: 21: unknown identifier 'inputData' 37 return half4(inputData[bufferIndex].a * inputData[bufferIndex].b.x); 38 ^^^^^^^^^ 39error: 21: unknown identifier 'inputData' 40 return half4(inputData[bufferIndex].a * inputData[bufferIndex].b.x); 41 ^^^^^^^^^ 4213 errors 43