mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
i965/fs: Print BAD_FILE registers in dump_instruction
Sometimes these show up in LOAD_PAYLOAD instructions and it's nice to be able to see them. Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
2af4b0aeaf
commit
72a3780f26
1 changed files with 1 additions and 1 deletions
|
|
@ -2900,7 +2900,7 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
|
|||
}
|
||||
fprintf(file, ":%s, ", brw_reg_type_letters(inst->dst.type));
|
||||
|
||||
for (int i = 0; i < inst->sources && inst->src[i].file != BAD_FILE; i++) {
|
||||
for (int i = 0; i < inst->sources; i++) {
|
||||
if (inst->src[i].negate)
|
||||
fprintf(file, "-");
|
||||
if (inst->src[i].abs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue