From 5ab1489ae62fa68e45664588d8809b3d667d7425 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 28 Jan 2015 16:27:40 -0800 Subject: [PATCH] nir: Add an invalid type This allows us to indicate a concept of an invalid type. Reviewed-by: Kenneth Graunke --- 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 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, -- 2.30.2