nvk: Support dynamic state for enabling sample locations
authorGeorge Ouzounoudis <geothrock@gmail.com>
Wed, 9 Aug 2023 21:03:24 +0000 (00:03 +0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Aug 2023 19:27:24 +0000 (19:27 +0000)
commit41d094c2cc1da09444830dca866d2be7f03ae5b4
tree2ba31b4cc7adb5f13434766fb020ff0b3fcdae57
parent2de545c68ff201b4fd77dc790cf974d3e37dcbce
nvk: Support dynamic state for enabling sample locations

When switching dynamically we should also push the corresponding sample
locations, the default when disabled or the custom ones when enabled.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24592>
src/nouveau/vulkan/nvk_cmd_draw.c
src/nouveau/vulkan/nvk_physical_device.c