mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
VideoCommon: Don't specify the redundant in/out qualifier if GL_ARB_shading_language_420pack is supported.
Some driver developers interpreted "can" as "must" in the OpenGL specs. (I'm looking at you AMD)
This commit is contained in:
@ -75,8 +75,8 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ
|
||||
if (g_ActiveConfig.backend_info.bSupportsGeometryShaders)
|
||||
{
|
||||
out.Write("out VertexData {\n"
|
||||
"\tcentroid out VS_OUTPUT o;\n"
|
||||
"};\n");
|
||||
"\tcentroid %s VS_OUTPUT o;\n"
|
||||
"};\n", g_ActiveConfig.backend_info.bSupportsBindingLayout ? "" : "out");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user