summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/intel/compiler/brw_fs.cpp6
-rw-r--r--src/intel/compiler/brw_shader.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 23a25fedca5..69726ed70e8 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -6023,6 +6023,12 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
case BRW_REGISTER_TYPE_UD:
fprintf(file, "%uu", inst->src[i].ud);
break;
+ case BRW_REGISTER_TYPE_Q:
+ fprintf(file, "%" PRId64 "q", inst->src[i].d64);
+ break;
+ case BRW_REGISTER_TYPE_UQ:
+ fprintf(file, "%" PRIu64 "uq", inst->src[i].u64);
+ break;
case BRW_REGISTER_TYPE_VF:
fprintf(file, "[%-gF, %-gF, %-gF, %-gF]",
brw_vf_to_float((inst->src[i].ud >> 0) & 0xff),
diff --git a/src/intel/compiler/brw_shader.h b/src/intel/compiler/brw_shader.h
index 7d97ddbd868..e1d598b8781 100644
--- a/src/intel/compiler/brw_shader.h
+++ b/src/intel/compiler/brw_shader.h
@@ -89,6 +89,8 @@ struct backend_reg : private brw_reg
using brw_reg::f;
using brw_reg::d;
using brw_reg::ud;
+ using brw_reg::d64;
+ using brw_reg::u64;
};
#endif