diff options
author | Iago Toral Quiroga <itoral@igalia.com> | 2021-09-28 08:31:04 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-10-13 22:37:43 +0000 |
commit | f7b16f91e115092c3de31bb153a024fc60a8d3cf (patch) | |
tree | 0581513d9de915e99857dee9ee96d02aa7c2dbcb /src/broadcom | |
parent | 84ca72ace2616b1eaf3c9b0a74bebebee47dfc71 (diff) | |
download | mesa-f7b16f91e115092c3de31bb153a024fc60a8d3cf.tar.gz mesa-f7b16f91e115092c3de31bb153a024fc60a8d3cf.tar.bz2 mesa-f7b16f91e115092c3de31bb153a024fc60a8d3cf.zip |
v3dv: GFX-1461 does not affect V3D 7.x
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
Diffstat (limited to 'src/broadcom')
-rw-r--r-- | src/broadcom/vulkan/v3dv_pass.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/broadcom/vulkan/v3dv_pass.c b/src/broadcom/vulkan/v3dv_pass.c index 20f5014268d..3e82c15df88 100644 --- a/src/broadcom/vulkan/v3dv_pass.c +++ b/src/broadcom/vulkan/v3dv_pass.c @@ -236,11 +236,13 @@ v3dv_CreateRenderPass2(VkDevice _device, /* GFXH-1461: if depth is cleared but stencil is loaded (or vice versa), * the clear might get lost. If a subpass has this then we can't emit - * the clear using the TLB and we have to do it as a draw call. + * the clear using the TLB and we have to do it as a draw call. This + * issue is fixed since V3D 4.3.18. * * FIXME: separate stencil. */ - if (subpass->ds_attachment.attachment != VK_ATTACHMENT_UNUSED) { + if (device->devinfo.ver == 42 && + subpass->ds_attachment.attachment != VK_ATTACHMENT_UNUSED) { struct v3dv_render_pass_attachment *att = &pass->attachments[subpass->ds_attachment.attachment]; if (att->desc.format == VK_FORMAT_D24_UNORM_S8_UINT) { |