[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
11
Test/implicitArraySizeBuiltin.vert
Normal file
11
Test/implicitArraySizeBuiltin.vert
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#version 460 core
|
||||
|
||||
void f1(float x)
|
||||
{
|
||||
gl_ClipDistance[6] = x;
|
||||
gl_CullDistance[1] = x;
|
||||
}
|
||||
|
||||
void main(){
|
||||
f1(0.1);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue