From: Dave Airlie Date: Tue, 25 Aug 2015 01:18:48 +0000 (+1000) Subject: r600g/sb: dump sampler/resource index modes for textures. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90ac5fb6bb8b663f722b5bc3fed1c10e27b8c050;p=mesa.git r600g/sb: dump sampler/resource index modes for textures. This just aids debugging. Signed-off-by: Dave Airlie --- diff --git a/src/gallium/drivers/r600/sb/sb_bc_dump.cpp b/src/gallium/drivers/r600/sb/sb_bc_dump.cpp index 5232782791d..e6a6c16669a 100644 --- 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";