mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00: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:
parent
ca18e51450
commit
0d79e8f32b
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue