summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-01-28 16:27:40 -0800
committerJason Ekstrand <[email protected]>2015-01-29 17:07:45 -0800
commit5ab1489ae62fa68e45664588d8809b3d667d7425 (patch)
tree6ddffdcbd70b0d6ddb9086a3ffd7e0e1949be996 /src/glsl/nir/nir.h
parentf01e8d3ba5a33559f142f5eac390a7bcd9421067 (diff)
nir: Add an invalid type
This allows us to indicate a concept of an invalid type. Reviewed-by: Kenneth Graunke <[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 980fdd08f33..98d26896019 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -576,6 +576,7 @@ void nir_alu_dest_copy(nir_alu_dest *dest, const nir_alu_dest *src,
void *mem_ctx);
typedef enum {
+ nir_type_invalid = 0, /* Not a valid type */
nir_type_float,
nir_type_int,
nir_type_unsigned,