summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2019-04-12 10:12:27 +0200
committerChristian Gmeiner <[email protected]>2019-04-13 17:54:48 +0000
commitb6bed115a5efb281b450c749418646b4ea2e7db7 (patch)
tree815a54146740b288f7c93db9d5f1c2b73c092e8c /src/compiler/nir/nir.h
parente538dd67dee1ae00d7d7dcc232508058e68f4ce0 (diff)
nir: add lower_ftrunc
Port TGSI TRUNC lowering to nir Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 91cad825653..ad72a5c9222 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -2246,6 +2246,8 @@ typedef struct nir_shader_compiler_options {
/** lowers fceil to fneg+ffloor+fneg: */
bool lower_fceil;
+ bool lower_ftrunc;
+
bool lower_ldexp;
bool lower_pack_half_2x16;