pvr: Fix calculation in rogue_max_compute_shared_registers().

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18224>
This commit is contained in:
Karmjit Mahil 2022-08-10 09:38:32 +01:00 committed by Marge Bot
parent 241f42d443
commit 1a250eeae3

View file

@ -211,7 +211,7 @@ static inline uint32_t
rogue_max_compute_shared_registers(const struct pvr_device_info *dev_info)
{
if (PVR_HAS_FEATURE(dev_info, compute))
return 2U * 1024U;
return 1024U;
return 0U;
}