From 3a86ca54dfcd8a6cff8eaa1dbdaa76ced1073a56 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 8 Jul 2014 20:24:55 +0200 Subject: st/mesa,gallium: add a workaround for Unigine Heaven 4.0 and Valley 1.0 Most (all?) Unigine shaders fail to compile without this if sample shading is advertised. This is, of course, Unigine developers' fault. Reviewed-by: Brian Paul --- src/gallium/include/state_tracker/st_api.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/include/state_tracker/st_api.h') diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h index 9dcb76fadec..46f0436c043 100644 --- a/src/gallium/include/state_tracker/st_api.h +++ b/src/gallium/include/state_tracker/st_api.h @@ -245,6 +245,7 @@ struct st_config_options boolean force_glsl_extensions_warn; unsigned force_glsl_version; boolean force_s3tc_enable; + boolean allow_glsl_extension_directive_midshader; }; /** -- cgit v1.2.3