Support sometimes aliasing unbound arrays (T[]
) as T[N]
#4701
Labels
goal:forward looking
Feature needed at a later date, not connected to a specific use case.
kind:enhancement
a desirable new feature, option, or behavior
Milestone
Problem:
Currently we will not compile the following code (unless hacked around).
Expected behavior:
GLSL allows
void myFunc(int unboundArray[])
to work like__generic<let N : int> void myFunc(int unboundArray[N])
.Slang should do the same.
The text was updated successfully, but these errors were encountered: