mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-23 11:19:40 +00:00
Update gtest to explicitly size gl_PrimitiveIndicesNV[]
This commit is contained in:
parent
ab027bef3d
commit
9466850f54
@ -22,16 +22,16 @@ out gl_MeshPerVertexNV {
|
|||||||
float gl_PointSize;
|
float gl_PointSize;
|
||||||
float gl_ClipDistance[4];
|
float gl_ClipDistance[4];
|
||||||
float gl_CullDistance[4];
|
float gl_CullDistance[4];
|
||||||
} gl_MeshVerticesNV[MAX_VER]; // explicitly sized to MAX_VER
|
} gl_MeshVerticesNV[MAX_VER]; // explicitly sized to MAX_VER
|
||||||
|
|
||||||
perprimitiveNV out gl_MeshPerPrimitiveNV {
|
perprimitiveNV out gl_MeshPerPrimitiveNV {
|
||||||
int gl_PrimitiveID;
|
int gl_PrimitiveID;
|
||||||
int gl_Layer;
|
int gl_Layer;
|
||||||
int gl_ViewportIndex;
|
int gl_ViewportIndex;
|
||||||
int gl_ViewportMask[];
|
int gl_ViewportMask[];
|
||||||
} gl_MeshPrimitivesNV[]; // implicitly sized to MAX_PRIM
|
} gl_MeshPrimitivesNV[]; // implicitly sized to MAX_PRIM
|
||||||
|
|
||||||
out uint gl_PrimitiveIndicesNV[]; // explicitly sized to MAX_PRIM * 3
|
out uint gl_PrimitiveIndicesNV[MAX_PRIM*3]; // explicitly sized to MAX_PRIM * 3
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user