[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:
Chow 2022-12-14 02:20:28 +08:00 committed by GitHub
parent c6b3f279a7
commit f9b760e6c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 528 additions and 7 deletions

View 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);
}