From 65a5407931b2be0b4a01de56586ba4694ee8fc13 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Sat, 16 Jan 2016 23:11:16 -0800 Subject: [PATCH] nir/print: Add space after shader_storage var mode Signed-off-by: Jordan Justen --- src/glsl/nir/nir_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir_print.c b/src/glsl/nir/nir_print.c index a231494d4ad..e1261aed5ef 100644 --- a/src/glsl/nir/nir_print.c +++ b/src/glsl/nir/nir_print.c @@ -312,7 +312,7 @@ print_var_decl(nir_variable *var, print_state *state) const char *const patch = (var->data.patch) ? "patch " : ""; const char *const inv = (var->data.invariant) ? "invariant " : ""; const char *const mode[] = { "shader_in ", "shader_out ", "", "", - "uniform ", "shader_storage", "system " }; + "uniform ", "shader_storage ", "system " }; fprintf(fp, "%s%s%s%s%s%s ", cent, samp, patch, inv, mode[var->data.mode], -- 2.30.2