diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 9081aafb30f..3fab30953c1 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -3088,10 +3088,13 @@ fs_visitor::dump_instruction(backend_instruction *be_inst) break; case UNIFORM: fprintf(stderr, "u%d", inst->src[i].reg); - if (virtual_grf_sizes[inst->src[i].reg] != 1 || - inst->src[i].subreg_offset) + if (inst->src[i].reladdr) { + fprintf(stderr, "+reladdr"); + } else if (virtual_grf_sizes[inst->src[i].reg] != 1 || + inst->src[i].subreg_offset) { fprintf(stderr, "+%d.%d", inst->src[i].reg_offset, inst->src[i].subreg_offset); + } break; case BAD_FILE: fprintf(stderr, "(null)"); |