turnip: fix update_stencil_mask
authorJonathan Marek <jonathan@marek.ca>
Sun, 21 Jun 2020 03:34:53 +0000 (23:34 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 25 Jun 2020 03:02:56 +0000 (03:02 +0000)
commit04148f4411169bed0784d2bb47f763c429011223
tree67a668e5ffe04c1a4e64888a80de2931e2a305d3
parent9c0ae5704d654108fd36b8de3f7364601ba30c53
turnip: fix update_stencil_mask

The previous value was not being cleared, resulting in some dynamic stencil
state failures. Fixes these two tests:

dEQP-VK.dynamic_state.ds_state.stencil_params_advanced
dEQP-VK.dynamic_state.ds_state.stencil_params_basic_1

Fixes: 233610f8cf8d8810 ("turnip: refactor draw states and dynamic states")
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5586>
src/freedreno/vulkan/tu_cmd_buffer.c