From faccbaf3faf9a7cdcda3e4032fafd0f6064459bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tapani=20P=C3=A4lli?= Date: Fri, 24 Nov 2017 07:46:07 +0200 Subject: mesa: add AllowGLSLCrossStageInterpolationMismatch workaround MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes issues seen with certain versions of Unreal Engine 4 editor and games built with that using GLSL 4.30. v2: add driinfo_gallium change (Emil Velikov) Signed-off-by: Tapani Pälli Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97852 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103801 Acked-by: Andres Gomez Reviewed-by: Kenneth Graunke --- src/gallium/include/state_tracker/st_api.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/include') diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h index a407b980d9..44d6b474f8 100644 --- a/src/gallium/include/state_tracker/st_api.h +++ b/src/gallium/include/state_tracker/st_api.h @@ -224,6 +224,7 @@ struct st_config_options boolean allow_higher_compat_version; boolean glsl_zero_init; boolean force_glsl_abs_sqrt; + boolean allow_glsl_cross_stage_interpolation_mismatch; unsigned char config_options_sha1[20]; }; -- cgit v1.2.3