GeometryShaderGen: Declare the vertex array size.

This commit is contained in:
Jules Blok
2014-11-16 02:15:43 +01:00
parent 422125c1a9
commit 106df04e8e
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ static inline void GenerateGeometryShader(T& out, u32 components, API_TYPE ApiTy
GenerateVSOutputStruct(out, ApiType);
out.Write("centroid in VS_OUTPUT o[];\n");
out.Write("centroid in VS_OUTPUT o[3];\n");
out.Write("centroid out VS_OUTPUT f;\n");
out.Write("flat out int layer;\n");