summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-06-28 19:36:26 -0700
committerKenneth Graunke <[email protected]>2014-06-30 14:05:28 -0700
commit3603dfff6fc4d03f2c691eb9019d0ade1d5dfa3b (patch)
tree8a418f1407561f16a7f72ff3c8594d3aaf5d79d7 /src
parent4fe78f4cc2fac1781a315151add77793adc61669 (diff)
i965/disasm: Use Gen6+ SFID case labels.
Most developers will recognize the Gen6+ SFID names more quickly than the Gen4-5 ones. Given that they're the same values, just use the new names. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_disasm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index e2f2fd84103..b739cc86be9 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -1310,7 +1310,8 @@ brw_disassemble_inst(FILE *file, struct brw_context *brw, brw_inst *inst,
string(file, ")");
}
break;
- case BRW_SFID_DATAPORT_READ:
+ case GEN6_SFID_DATAPORT_SAMPLER_CACHE:
+ /* aka BRW_SFID_DATAPORT_READ on Gen4-5 */
if (brw->gen >= 6) {
format(file, " (%d, %d, %d, %d)",
brw_inst_binding_table_index(brw, inst),
@@ -1325,7 +1326,8 @@ brw_disassemble_inst(FILE *file, struct brw_context *brw, brw_inst *inst,
}
break;
- case BRW_SFID_DATAPORT_WRITE:
+ case GEN6_SFID_DATAPORT_RENDER_CACHE:
+ /* aka BRW_SFID_DATAPORT_WRITE on Gen4-5 */
if (brw->gen >= 7) {
format(file, " (");