From 9466850f54dc9424bd2ade8e4baf154924c35c2f Mon Sep 17 00:00:00 2001 From: Sahil Parmar Date: Tue, 12 Feb 2019 12:27:21 -0800 Subject: [PATCH] Update gtest to explicitly size gl_PrimitiveIndicesNV[] --- Test/spv.meshShaderRedeclBuiltins.mesh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Test/spv.meshShaderRedeclBuiltins.mesh b/Test/spv.meshShaderRedeclBuiltins.mesh index d89439b..1b19a75 100644 --- a/Test/spv.meshShaderRedeclBuiltins.mesh +++ b/Test/spv.meshShaderRedeclBuiltins.mesh @@ -22,16 +22,16 @@ out gl_MeshPerVertexNV { float gl_PointSize; float gl_ClipDistance[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 { int gl_PrimitiveID; int gl_Layer; int gl_ViewportIndex; 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() { -- 2.7.4