diff options
author | Tapani Pälli <[email protected]> | 2017-11-24 07:46:07 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2017-11-30 11:43:10 +0200 |
commit | faccbaf3faf9a7cdcda3e4032fafd0f6064459bd (patch) | |
tree | dff07c0c37ff3198f58ae018f2b04762612d0e3d /src/mesa/main | |
parent | 8c1e4b1afc8d396ccf99c725c59b29a9aa305557 (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 <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97852
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103801
Acked-by: Andres Gomez <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 96775824ea6..0e8a05359a4 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3718,6 +3718,11 @@ struct gl_constants GLboolean AllowGLSLBuiltinVariableRedeclaration; /** + * Allow GLSL interpolation qualifier mismatch across shader stages. + */ + GLboolean AllowGLSLCrossStageInterpolationMismatch; + + /** * Allow creating a higher compat profile (version 3.1+) for apps that * request it. Be careful when adding that driconf option because some * features are unimplemented and might not work correctly. |