mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 10:10:09 +01:00
i965/vec4: slightly improve insn dumping with no srcs
Previously, we would get a trailing ', ' which looked strange. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
2264925f85
commit
667f758788
1 changed files with 4 additions and 1 deletions
|
|
@ -1337,7 +1337,10 @@ vec4_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
|
|||
if (inst->dst.writemask & 8)
|
||||
fprintf(file, "w");
|
||||
}
|
||||
fprintf(file, ":%s, ", brw_reg_type_letters(inst->dst.type));
|
||||
fprintf(file, ":%s", brw_reg_type_letters(inst->dst.type));
|
||||
|
||||
if (inst->src[0].file != BAD_FILE)
|
||||
fprintf(file, ", ");
|
||||
|
||||
for (int i = 0; i < 3 && inst->src[i].file != BAD_FILE; i++) {
|
||||
if (inst->src[i].negate)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue