From 8e7e1ae0365ddc7edb0d4d98250ab46728e6c14a Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 2 Sep 2016 13:17:48 -0700 Subject: [PATCH] glsl: Print GLSL_TYPE_UINT64 and GLSL_TYPE_INT64 values Signed-off-by: Ian Romanick Reviewed-by: Matt Turner --- src/compiler/glsl/ir_print_visitor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/glsl/ir_print_visitor.cpp b/src/compiler/glsl/ir_print_visitor.cpp index 7d367038c4c..0763277737e 100644 --- a/src/compiler/glsl/ir_print_visitor.cpp +++ b/src/compiler/glsl/ir_print_visitor.cpp @@ -476,6 +476,8 @@ void ir_print_visitor::visit(ir_constant *ir) else fprintf(f, "%f", ir->value.f[i]); break; + case GLSL_TYPE_UINT64:fprintf(f, "%" PRIu64, ir->value.u64[i]); break; + case GLSL_TYPE_INT64: fprintf(f, "%" PRIi64, ir->value.i64[i]); break; case GLSL_TYPE_BOOL: fprintf(f, "%d", ir->value.b[i]); break; case GLSL_TYPE_DOUBLE: if (ir->value.d[i] == 0.0) -- 2.30.2