From: Ian Romanick Date: Fri, 2 Sep 2016 20:17:48 +0000 (-0700) Subject: glsl: Print GLSL_TYPE_UINT64 and GLSL_TYPE_INT64 values X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e7e1ae0365ddc7edb0d4d98250ab46728e6c14a;p=mesa.git glsl: Print GLSL_TYPE_UINT64 and GLSL_TYPE_INT64 values Signed-off-by: Ian Romanick Reviewed-by: Matt Turner --- 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)