mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 23:40:12 +01:00
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>
This commit is contained in:
parent
84ca72ace2
commit
f7b16f91e1
1 changed files with 4 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue