mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 14:10:09 +01:00
i965/fs: Don't look at virtual_grf_sizes for uniforms
Uniform values are in the UNIFORM register file, not the GRF register file. Looking in virtual_grf_sizes makes no sense and only makes the output of dump_instructions confusing. Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
291ae622fd
commit
ecf6c26757
1 changed files with 1 additions and 2 deletions
|
|
@ -2920,8 +2920,7 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
|
|||
fprintf(file, "u%d", inst->src[i].reg + inst->src[i].reg_offset);
|
||||
if (inst->src[i].reladdr) {
|
||||
fprintf(file, "+reladdr");
|
||||
} else if (virtual_grf_sizes[inst->src[i].reg] != 1 ||
|
||||
inst->src[i].subreg_offset) {
|
||||
} else if (inst->src[i].subreg_offset) {
|
||||
fprintf(file, "+%d.%d", inst->src[i].reg_offset,
|
||||
inst->src[i].subreg_offset);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue