[Mesa-dev] [PATCH v2 3/5] glsl: Add space to shader_storage in print_visitor

Jordan Justen jordan.l.justen at intel.com
Mon Nov 9 14:48:35 PST 2015


Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
 src/glsl/ir_print_visitor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glsl/ir_print_visitor.cpp b/src/glsl/ir_print_visitor.cpp
index b919690..211ac76 100644
--- a/src/glsl/ir_print_visitor.cpp
+++ b/src/glsl/ir_print_visitor.cpp
@@ -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 " };
-- 
2.6.2



More information about the mesa-dev mailing list