projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32769ac
)
r600g/sb: dump sampler/resource index modes for textures.
author
Dave Airlie
<airlied@redhat.com>
Tue, 25 Aug 2015 01:18:48 +0000
(11:18 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 2 Sep 2015 05:55:47 +0000
(15:55 +1000)
This just aids debugging.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/sb/sb_bc_dump.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/sb/sb_bc_dump.cpp
b/src/gallium/drivers/r600/sb/sb_bc_dump.cpp
index 5232782791d02e096f7c83faf61672af4f1f91dc..e6a6c16669a6ed5d54ead6326a6953078cee9468 100644
(file)
--- a/
src/gallium/drivers/r600/sb/sb_bc_dump.cpp
+++ b/
src/gallium/drivers/r600/sb/sb_bc_dump.cpp
@@
-466,6
+466,10
@@
void bc_dump::dump(fetch_node& n) {
for (unsigned k = 0; k < 3; ++k)
if (n.bc.offset[k])
s << " O" << chans[k] << ":" << n.bc.offset[k];
+ if (ctx.is_egcm() && n.bc.resource_index_mode)
+ s << " RIM:SQ_CF_INDEX_" << n.bc.resource_index_mode;
+ if (ctx.is_egcm() && n.bc.sampler_index_mode)
+ s << " SID:SQ_CF_INDEX_" << n.bc.sampler_index_mode;
}
sblog << s.str() << "\n";