mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
pvr: don't csb emit multi-layer clear attachments without rta support
Deferred clears are a way to turn clear operations into transfer operations.
One use of them is to account for multi-layer clears when the HW doesn't
support render targets array.
Fix for deqp:
dEQP-VK.renderpass.dedicated_allocation.attachment_allocation*
Fixes: 9582058 ("pvr: Add deferred RTA clears for cores without gs_rta_support")
Signed-off-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
parent
4927d2274c
commit
d68344bffe
1 changed files with 1 additions and 2 deletions
|
|
@ -2102,8 +2102,7 @@ static void pvr_clear_attachments(struct pvr_cmd_buffer *cmd_buffer,
|
|||
if (result != VK_SUCCESS)
|
||||
return;
|
||||
|
||||
if (clear_rect->baseArrayLayer != 0)
|
||||
continue;
|
||||
continue;
|
||||
}
|
||||
|
||||
/* TODO: Allocate all the buffers in one go before the loop, and add
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue