GLSL: Fix #1359: don't allow unsized arrays as initializers.
This commit is contained in:
parent
d8462c6f49
commit
b4cb70fcd9
6 changed files with 45 additions and 17 deletions
|
|
@ -105,4 +105,6 @@ void main()
|
|||
storageImage[i]; // ERROR, need extension
|
||||
uniformTexelBuffer[i]; // ERROR, need extension
|
||||
storageTexelBuffer[i]; // ERROR, need extension
|
||||
|
||||
float local[] = ubuf.b; // ERROR, can initialize with runtime-sized array
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue