mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 17:10:11 +01:00
panvk: Only restrict iter scoreboards on v10
Now that all paths support indirect wait for iter scoreboards, we can remove the previous limit. Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35307>
This commit is contained in:
parent
cf8c71c0a0
commit
1879b33877
1 changed files with 6 additions and 1 deletions
|
|
@ -327,8 +327,13 @@ panvk_per_arch(create_device)(struct panvk_physical_device *physical_device,
|
|||
device->csf.sb.all_mask = BITFIELD_MASK(device->csf.sb.count);
|
||||
|
||||
assert(device->csf.sb.count > PANVK_SB_ITER_START);
|
||||
device->csf.sb.iter_count = device->csf.sb.count - PANVK_SB_ITER_START;
|
||||
|
||||
#if PAN_ARCH == 10
|
||||
device->csf.sb.iter_count =
|
||||
MIN2(device->csf.sb.count - PANVK_SB_ITER_START, PANVK_SB_ITER_COUNT);
|
||||
MIN2(device->csf.sb.iter_count, PANVK_SB_ITER_COUNT);
|
||||
#endif
|
||||
|
||||
device->csf.sb.all_iters_mask =
|
||||
BITFIELD_RANGE(PANVK_SB_ITER_START, device->csf.sb.iter_count);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue