nvk: Implement vkCmdClear*Image directly
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 31 Jan 2023 02:11:55 +0000 (20:11 -0600)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:58 +0000 (21:31 +0000)
commit177c968cd1e55ca0fe12da206b769d4785d069f6
treee7934f75ea05cd35f1e50d36bc3aca2b180c6aa2
parentf1aa12d59695fb0ad00334fdbf0f3059824241e6
nvk: Implement vkCmdClear*Image directly

Instead of invoking the meta code, implement it ourselves so we get the
HW clear path.  We could probably put these implementations somewhere
common since they only set up a few things and invoke Begin/EndRendering
but there's not that much point for now.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_cmd_clear.c
src/nouveau/vulkan/nvk_cmd_meta.c