aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-09-02 13:17:48 -0700
committerIan Romanick <[email protected]>2017-01-20 15:41:23 -0800
commit8e7e1ae0365ddc7edb0d4d98250ab46728e6c14a (patch)
tree25c8677009b7362d6ab2fd30f8367a9507f1c61b /src/compiler
parent0d14fec345025567546979160217bb5278836132 (diff)
glsl: Print GLSL_TYPE_UINT64 and GLSL_TYPE_INT64 values
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl/ir_print_visitor.cpp2
1 files changed, 2 insertions, 0 deletions
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)