From ea8086861f87d26185c01d3ac4a0951bb41dd9d3 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 23 Feb 2017 12:04:28 +0100 Subject: [PATCH] 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 --- src/mesa/drivers/dri/common/drirc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc index 9573a1a..494e9e1 100644 --- a/src/mesa/drivers/dri/common/drirc +++ b/src/mesa/drivers/dri/common/drirc @@ -116,5 +116,9 @@ TODO: document the other workarounds. + + + -- 2.7.4