summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-02-23 12:04:28 +0100
committerSamuel Pitoiset <[email protected]>2017-02-27 19:32:55 +0100
commitea8086861f87d26185c01d3ac4a0951bb41dd9d3 (patch)
treee6cf454cd57db97c5f951591691c861999b406c0 /src/mesa/drivers/dri/common
parent76c8327e6ef3207028aae52b5345c5e39e7f705f (diff)
drirc: add force_glsl_version=440 for The Culling
This game uses GLSL 430 but the interpolation qualifiers in some shaders don't match, which ends up in a link error. GLSL 440 spec removed this restriction, force it. This fixes the following link error, as well as serious rendering problems. error: vertex shader output `out_TEXCOORD1' specifies noperspective interpolation qualifier, but fragment shader input specifies no interpolation qualifier Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r--src/mesa/drivers/dri/common/drirc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
index 9573a1a4947..494e9e15090 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -116,5 +116,9 @@ TODO: document the other workarounds.
<application name="Tropico 5" executable="Tropico5">
<option name="allow_higher_compat_version" value="true" />
</application>
+
+ <application name="The Culling" executable="Victory">
+ <option name="force_glsl_version" value="440" />
+ </application>
</device>
</driconf>