This allows us to indicate a concept of an invalid type.
---
 src/glsl/nir/nir.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 980fdd0..f2050de 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_void = 0, /* Not a valid type */
    nir_type_float,
    nir_type_int,
    nir_type_unsigned,
-- 
2.2.2

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to