v3dv: implement workaround for GFXH-1461

Graphics / Mesa 3D Graphics Library / Mesa - Iago Toral Quiroga [igalia.com] - 13 October 2020 21:21 UTC

If a subpass clears one aspect of Depth/Stencil but loads the other the clear might get lost. Fix this by emitting the clear as a draw call instead of relying on the TLB clear.

Fixes: dEQP-VK.renderpass.suballocation.attachment.3.307

Part-of:

1e81bb05aeb v3dv: implement workaround for GFXH-1461
src/broadcom/vulkan/v3dv_cmd_buffer.c | 85 +++++++++++++++++++++++------------
src/broadcom/vulkan/v3dv_pass.c | 20 +++++++++
src/broadcom/vulkan/v3dv_private.h | 6 +++
3 files changed, 83 insertions(+), 28 deletions(-)

Upstream: cgit.freedesktop.org


  • Share