diff options
author | Iago Toral Quiroga <[email protected]> | 2016-07-01 09:28:31 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-01-03 11:26:51 +0100 |
commit | 0579c85e5ca7d406cad42db7c1501d6b1fb9696b (patch) | |
tree | 07b91502b560d11d5d2b79e31d63b02832fb9875 /src/mesa | |
parent | 8e92b402030735edab6c35e69dceee4acebb973b (diff) |
i965/vec4: dump subnr for FIXED_GRF
This came in handy when debugging the payload setup for Tess Eval,
since it prints correct subnr for attributes that can be loaded
in the second half of a register.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index 6bc6f48d5b6..9f6d9a8cfe5 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -1562,7 +1562,7 @@ vec4_visitor::dump_instruction(backend_instruction *be_inst, FILE *file) fprintf(file, "vgrf%d", inst->src[i].nr); break; case FIXED_GRF: - fprintf(file, "g%d", inst->src[i].nr); + fprintf(file, "g%d.%d", inst->src[i].nr, inst->src[i].subnr); break; case ATTR: fprintf(file, "attr%d", inst->src[i].nr); |