projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
694eb34
)
i965/fs: Handle V/UV immediates in dump_instructions()
author
Matt Turner
<mattst88@gmail.com>
Mon, 5 Nov 2018 17:52:09 +0000
(09:52 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Mon, 10 Dec 2018 18:46:56 +0000
(10:46 -0800)
src/intel/compiler/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_fs.cpp
b/src/intel/compiler/brw_fs.cpp
index 43b920ae33d3aa293b2491f0c4b397707e4ee5f0..713a6c7f40a073f86926b84695c3c1abe8ff2754 100644
(file)
--- 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;