mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-18 03:50:36 +02:00
i965/fs: Print reg and reg_offset separately for ATTR files.
Reading this output was really confusing. reg represents attribute slots; reg_offset is the x/y/z/w component (0..3) within a vec4 slot. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
193d29516d
commit
604ce8253a
1 changed files with 1 additions and 1 deletions
|
|
@ -4517,7 +4517,7 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
|
|||
fprintf(file, "***m%d***", inst->src[i].reg);
|
||||
break;
|
||||
case ATTR:
|
||||
fprintf(file, "attr%d", inst->src[i].reg + inst->src[i].reg_offset);
|
||||
fprintf(file, "attr%d+%d", inst->src[i].reg, inst->src[i].reg_offset);
|
||||
break;
|
||||
case UNIFORM:
|
||||
fprintf(file, "u%d", inst->src[i].reg + inst->src[i].reg_offset);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue