summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-06-22 12:20:18 -0700
committerMatt Turner <[email protected]>2017-07-20 16:56:49 -0700
commit742cc6118a8d76870c707667a945269122aa0f21 (patch)
treecd41e61559afc2139ec98325eb329a2e98ec9be1 /src/compiler/nir/nir.h
parentd4c9d6a3b2cef577454d9c911fc96d5f678d9955 (diff)
nir: Support lowering vote intrinsics
... trivially (as allowed by the spec!) by reusing the existing nir_opt_intrinsics code. Reviewed-by: Kenneth Graunke <[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 44a1d0887e3..c5e5358aaaa 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -1821,6 +1821,8 @@ typedef struct nir_shader_compiler_options {
bool lower_extract_byte;
bool lower_extract_word;
+ bool lower_vote_trivial;
+
/**
* Does the driver support real 32-bit integers? (Otherwise, integers
* are simulated by floats.)