summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-02-18 12:24:38 -0800
committerEric Anholt <[email protected]>2015-03-27 13:29:48 -0700
commitafa9fc15613c3ebdc59245c9d4d8c1280b2a2a37 (patch)
treee4373aaa6ec3fe9942e9385dbc8ba9e443cb81f3 /src/glsl/nir/nir.h
parent56076be2ac60f005770516a9ac305e60e6285497 (diff)
nir: Add optional lowering of flrp.
Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 29fe942431c..7b886e3d36f 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -1365,6 +1365,7 @@ typedef struct nir_function {
typedef struct nir_shader_compiler_options {
bool lower_ffma;
+ bool lower_flrp;
bool lower_fpow;
bool lower_fsat;
bool lower_fsqrt;