mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 23:30:10 +01:00
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:
parent
241f42d443
commit
1a250eeae3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue