summaryrefslogtreecommitdiff
path: root/src/gallium/include
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2017-11-24 07:46:07 +0200
committerTapani Pälli <tapani.palli@intel.com>2017-11-30 11:43:10 +0200
commitfaccbaf3faf9a7cdcda3e4032fafd0f6064459bd (patch)
treedff07c0c37ff3198f58ae018f2b04762612d0e3d /src/gallium/include
parent8c1e4b1afc8d396ccf99c725c59b29a9aa305557 (diff)
mesa: add AllowGLSLCrossStageInterpolationMismatch workaround
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 <tapani.palli@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97852 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103801 Acked-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/state_tracker/st_api.h1
1 files changed, 1 insertions, 0 deletions
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];
};