mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
freedreno/ir3: fix printing output registers of FS.
Fixes:cea39af2fb("freedreno/ir3: Generalize ir3_shader_disasm()") Reviewed-by: Rob Clark <robdclark@gmail.com> (cherry picked from commitd0f38394b1)
This commit is contained in:
parent
e594e4cefd
commit
c2488d810b
1 changed files with 3 additions and 2 deletions
|
|
@ -405,8 +405,9 @@ ir3_shader_disasm(struct ir3_shader_variant *so, uint32_t *bin, FILE *out)
|
|||
fprintf(out, "; %s: outputs:", type);
|
||||
for (i = 0; i < so->outputs_count; i++) {
|
||||
uint8_t regid = so->outputs[i].regid;
|
||||
fprintf(out, " r%d.%c (%s)",
|
||||
(regid >> 2), "xyzw"[regid & 0x3],
|
||||
const char *reg_type = so->outputs[i].half ? "hr" : "r";
|
||||
fprintf(out, " %s%d.%c (%s)",
|
||||
reg_type, (regid >> 2), "xyzw"[regid & 0x3],
|
||||
output_name(so, i));
|
||||
}
|
||||
fprintf(out, "\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue