radv: disable stencil test without a stencil attachment
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 2 Jan 2024 10:19:34 +0000 (11:19 +0100)
committerEric Engestrom <eric@engestrom.ch>
Thu, 4 Jan 2024 18:43:32 +0000 (18:43 +0000)
commit84d8ac768f8a278a4bc0aaa1d5cbf1539fa031f8
treed34871e4ed5d4adaaa1168243a05878aa9d73509
parent1acb1a232f14517fba553a50d667b4b8c26d15bf
radv: disable stencil test without a stencil attachment

Implementations are supposed to do that per the Vulkan spec.

This fixes the following new VKCTS tests
dEQP-VK.pipeline.*.stencil.no_stencil_att.*

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26847>
(cherry picked from commit 8b7b5be98bc28117e6f4ce144a9d2fa087c18782)
.pick_status.json
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_private.h