v3dv: Emit stencil draw clear if needed for GFXH-1461

Fixes: 1e81bb05ae (v3dv: implement workaround for GFXH-1461)
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29427>
This commit is contained in:
Jose Maria Casanova Crespo 2024-05-28 10:24:01 +02:00 committed by Marge Bot
parent 9912c734e9
commit 4835dc0e7f

View file

@ -1439,7 +1439,7 @@ cmd_buffer_emit_subpass_clears(struct v3dv_cmd_buffer *cmd_buffer)
*/
if (cmd_buffer->state.tile_aligned_render_area &&
!subpass->do_depth_clear_with_draw &&
!subpass->do_depth_clear_with_draw) {
!subpass->do_stencil_clear_with_draw) {
return;
}