From: Jason Ekstrand Date: Thu, 29 Jan 2015 00:27:40 +0000 (-0800) Subject: nir: Add an invalid type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ab1489ae62fa68e45664588d8809b3d667d7425;p=mesa.git nir: Add an invalid type This allows us to indicate a concept of an invalid type. Reviewed-by: Kenneth Graunke --- 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,