Module: Mesa
Branch: master
Commit: 5ab1489ae62fa68e45664588d8809b3d667d7425
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ab1489ae62fa68e45664588d8809b3d667d7425

Author: Jason Ekstrand <[email protected]>
Date:   Wed Jan 28 16:27:40 2015 -0800

nir: Add an invalid type

This allows us to indicate a concept of an invalid type.

Reviewed-by: Kenneth Graunke <[email protected]>

---

 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..98d2689 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,

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to