projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01e8d3
)
nir: Add an invalid type
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 29 Jan 2015 00:27:40 +0000
(16:27 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 30 Jan 2015 01:07:45 +0000
(17:07 -0800)
This allows us to indicate a concept of an invalid type.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/nir/nir.h
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir.h
b/src/glsl/nir/nir.h
index 980fdd08f3353285ffa1c84cab75d45f9fb6c651..98d26896019c6e7428376f25f89be9990f797ea3 100644
(file)
--- 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,