mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
GeometryShaderGen: Declare the vertex array size.
This commit is contained in:
parent
422125c1a9
commit
106df04e8e
@ -401,7 +401,7 @@ void TextureCache::CompileShaders()
|
||||
const char *GProgram = (g_ActiveConfig.iStereoMode > 0) ?
|
||||
"layout(triangles) in;\n"
|
||||
"layout(triangle_strip, max_vertices = 6) out;\n"
|
||||
"in vec3 v_uv0[];\n"
|
||||
"in vec3 v_uv0[3];\n"
|
||||
"out vec3 f_uv0;\n"
|
||||
"SAMPLER_BINDING(9) uniform sampler2DArray samp9;\n"
|
||||
"void main()\n"
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user