summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/state_tracker
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-03-17 01:06:54 +0100
committerSamuel Pitoiset <[email protected]>2017-03-22 22:01:01 +0100
commit448f4c0c891945ea3d440d26045db33580673db7 (patch)
treecf287512bbc4fa2f06a3f842a19455db49c599d3 /src/gallium/include/state_tracker
parent08f864abd9e241c7db9c99212a66cdad69bdd4d8 (diff)
driconf: add force_glsl_abs_sqrt option
This will allow to force computing the absolute value for sqrt() and inversesqrt() in order to follow D3D9 behaviour for buggy apps that rely on it. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include/state_tracker')
-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 bf9a7e95d7c..9d0eb3a8a67 100644
--- a/src/gallium/include/state_tracker/st_api.h
+++ b/src/gallium/include/state_tracker/st_api.h
@@ -248,6 +248,7 @@ struct st_config_options
boolean allow_glsl_extension_directive_midshader;
boolean allow_higher_compat_version;
boolean glsl_zero_init;
+ boolean force_glsl_abs_sqrt;
unsigned char config_options_sha1[20];
};