diff options
author | Kenneth Graunke <[email protected]> | 2015-08-25 16:09:46 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-10-01 11:01:58 -0700 |
commit | 604ce8253ae796ecf9763f1612e2fff25591cb07 (patch) | |
tree | c964a002818693bb6c8984808c61e12f5f63fbcc /src/mesa/drivers | |
parent | 193d29516ddb76f469fea17119493e2b685bc6b7 (diff) |
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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 64215ae5a6a..b269adec1bf 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -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); |