mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
panvk: Fix panvk_copy_fb_desc()
We should not skip the copy when the batch is attached a framebuffer
descriptor, quite the opposite. Let's drop the check instead of reversing
it since we are guaranteed to have an FB attached when
panvk_copy_fb_desc() is called.
Fixes: 792a0ab0b1 ("panvk: Prepare per-gen split")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12590>
This commit is contained in:
parent
d84dedc48f
commit
5a4fcb42f7
1 changed files with 0 additions and 4 deletions
|
|
@ -99,10 +99,6 @@ static void
|
|||
panvk_copy_fb_desc(struct panvk_cmd_buffer *cmdbuf, void *src)
|
||||
{
|
||||
struct panvk_batch *batch = cmdbuf->state.batch;
|
||||
|
||||
if (batch->fb.desc.gpu)
|
||||
return;
|
||||
|
||||
const struct panvk_subpass *subpass = cmdbuf->state.subpass;
|
||||
uint32_t size = pan_size(MULTI_TARGET_FRAMEBUFFER);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue