From: Samuel Pitoiset Date: Thu, 23 Feb 2017 11:04:28 +0000 (+0100) Subject: drirc: add force_glsl_version=440 for The Culling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea8086861f87d26185c01d3ac4a0951bb41dd9d3;p=mesa.git 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 Reviewed-by: Timothy Arceri --- 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. + + +