nir/print: Add space after shader_storage var mode
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 17 Jan 2016 07:11:16 +0000 (23:11 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 21 Jan 2016 08:31:29 +0000 (00:31 -0800)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/nir/nir_print.c

index a231494d4ada58ab668937cd068390b4db894c3f..e1261aed5ef54f1bb67fc3139014e0b6ca8f33e9 100644 (file)
@@ -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],