summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2014-07-08 20:24:55 +0200
committerMarek Olšák <marek.olsak@amd.com>2014-07-18 01:58:58 +0200
commit3a86ca54dfcd8a6cff8eaa1dbdaa76ced1073a56 (patch)
treeb82d5b440868a914283ac672f4d119dd693f6c13 /src/gallium/include
parentb0ff18bd3441ce7f28354686934440a92826eaf8 (diff)
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 <brianp@vmware.com>
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 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;
};
/**