glsl: Add space to shader_storage in print_visitor
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 9 Nov 2015 03:07:43 +0000 (19:07 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 10 Nov 2015 01:21:17 +0000 (17:21 -0800)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/glsl/ir_print_visitor.cpp

index b919690..211ac76 100644 (file)
@@ -173,7 +173,7 @@ void ir_print_visitor::visit(ir_variable *ir)
    const char *const samp = (ir->data.sample) ? "sample " : "";
    const char *const patc = (ir->data.patch) ? "patch " : "";
    const char *const inv = (ir->data.invariant) ? "invariant " : "";
-   const char *const mode[] = { "", "uniform ", "shader_storage",
+   const char *const mode[] = { "", "uniform ", "shader_storage ",
                                 "shader_in ", "shader_out ",
                                 "in ", "out ", "inout ",
                                "const_in ", "sys ", "temporary " };