[glslang] Refine implicit array size interfaces. (#3074)
* [glslang] Refine implicit array size interfaces. Help to check builtin and other variables if across stages.
This commit is contained in:
9
Test/implicitArraySize.frag
Normal file
9
Test/implicitArraySize.frag
Normal file
@@ -0,0 +1,9 @@
|
||||
#version 460 core
|
||||
in float a[];
|
||||
in float c[3];
|
||||
out float b[5];
|
||||
|
||||
void main(){
|
||||
b[0] = a[1];
|
||||
b[1] = c[1];
|
||||
}
|
||||
Reference in New Issue
Block a user