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 b9196900ea6594c2e57c34d43c44bd517033cca7..211ac76d3d0023b7ab4fcefcc28f27905b4c3bfc 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 " };