summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_print.c
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2016-01-16 23:11:16 -0800
committerJordan Justen <jordan.l.justen@intel.com>2016-03-17 01:23:40 -0700
commit26f8262698d9f48ab5dbb85ef14cb7d5cefd9d53 (patch)
tree78207ae25484e6fe23194fa89a14cde8a9b26d6d /src/compiler/nir/nir_print.c
parent5be11d22368c4fd520983ab78a9ac8fc10d79929 (diff)
downloadexternal_mesa3d-26f8262698d9f48ab5dbb85ef14cb7d5cefd9d53.zip
external_mesa3d-26f8262698d9f48ab5dbb85ef14cb7d5cefd9d53.tar.gz
external_mesa3d-26f8262698d9f48ab5dbb85ef14cb7d5cefd9d53.tar.bz2
nir/print: Add space after shader_storage var mode
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/compiler/nir/nir_print.c')
-rw-r--r--src/compiler/nir/nir_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c
index bdfbd26..231a4f5 100644
--- a/src/compiler/nir/nir_print.c
+++ b/src/compiler/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],