We currently generate invalid metal code where there is a global static constant array.
For example, tests/compute/static-const-array.slang does not compile to valid metal.
Metal requires global constant arrays to be defined in constant address space, but we are missing address space declarations in our output.
We currently generate invalid metal code where there is a global static constant array. For example,
tests/compute/static-const-array.slang
does not compile to valid metal.Metal requires global constant arrays to be defined in
constant
address space, but we are missing address space declarations in our output.