aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2019-01-30 11:02:39 +0100
committerNeil Roberts <[email protected]>2019-11-20 14:09:43 +0100
commit0f5640c57741fe1122aa218b678eddaa6ae94601 (patch)
treef3186467e1c91c5bb2de1e2ab481ee6246ab2387 /src/compiler/nir/nir.h
parent2ec97e78a9ae4da59f175a5f24c3d6c062f36ca7 (diff)
nir: Add a 16-bit bool type
Adds nir_type_bool16 as well as 16-bit versions of all the bool opcodes. Reviewed-by: Rob Clark <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 9bd1d321e03..e0e2b5a27d2 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -889,6 +889,7 @@ typedef enum {
nir_type_bool = 6,
nir_type_float = 128,
nir_type_bool1 = 1 | nir_type_bool,
+ nir_type_bool16 = 16 | nir_type_bool,
nir_type_bool32 = 32 | nir_type_bool,
nir_type_int1 = 1 | nir_type_int,
nir_type_int8 = 8 | nir_type_int,