From f521a3c543ab1775603e1ad85c72e77812e039b5 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 26 Nov 2014 15:08:19 -0800 Subject: [PATCH] SQUASH: Use the enum for the variable mode --- src/glsl/nir/nir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 7e9ddf755aa..b830361f64f 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -149,7 +149,7 @@ typedef struct { * * \sa nir_variable_mode */ - unsigned mode:4; + nir_variable_mode mode:4; /** * Interpolation mode for shader inputs / outputs