yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
96df31a9f
master
1// Test that arrays of unbounded arrays are not allowed 2 3//TEST:SIMPLE(filecheck=CHECK): -target spirv -allow-glsl -stage compute -entry computeMain 4 5// Array of unbounded arrays - should error (unbounded arrays are NonAddressable) 6//CHECK: ([[# @LINE+1]]): error 30027 7int arrayOfUnbounded[3][]; 8 9[numthreads(1, 1, 1)] 10void computeMain() 11{ 12 // Empty - we're just testing the declaration 13}