[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:
parent
c6b3f279a7
commit
f9b760e6c7
14 changed files with 528 additions and 7 deletions
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];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue