mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
freedreno/ir3: fixup register footprint fixup
Small typo resulted in not converting footprint to vec4, meaning that we could potentially ask for quite a few more registers than required Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
parent
4c060235a2
commit
aa8515463e
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ fixup_regfootprint(struct ir3_shader_variant *v, uint32_t gpu_id)
|
|||
v->info.max_reg = MAX2(v->info.max_reg, regid >> 3);
|
||||
}
|
||||
} else {
|
||||
v->info.max_reg = MAX2(v->info.max_reg, regid);
|
||||
v->info.max_reg = MAX2(v->info.max_reg, regid >> 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue