[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
14
Test/implicitArraySize1.geom
Normal file
14
Test/implicitArraySize1.geom
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#version 460 core
|
||||
|
||||
layout(triangles) in;
|
||||
layout(line_strip, max_vertices = 204) out;
|
||||
|
||||
void f();
|
||||
|
||||
in float g[][3];
|
||||
out float o[3];
|
||||
|
||||
void main(){
|
||||
f();
|
||||
o[1] = g[2][1];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue