summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2018-11-05 09:52:09 -0800
committerMatt Turner <[email protected]>2018-12-10 10:46:56 -0800
commitf447a13032e2eff740d9610d3bed4b734d38f83a (patch)
treed3891be6964eb498f7c1a10f6e7e011798c6a9d3 /src
parent694eb342a2326a6f7d45f93ac135750286bd0be4 (diff)
i965/fs: Handle V/UV immediates in dump_instructions()
Diffstat (limited to 'src')
-rw-r--r--src/intel/compiler/brw_fs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 43b920ae33d..713a6c7f40a 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -6036,6 +6036,11 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
brw_vf_to_float((inst->src[i].ud >> 16) & 0xff),
brw_vf_to_float((inst->src[i].ud >> 24) & 0xff));
break;
+ case BRW_REGISTER_TYPE_V:
+ case BRW_REGISTER_TYPE_UV:
+ fprintf(file, "%08x%s", inst->src[i].ud,
+ inst->src[i].type == BRW_REGISTER_TYPE_V ? "V" : "UV");
+ break;
default:
fprintf(file, "???");
break;