anv: use the null surface with unused push descriptor binding table entries
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 7 Jan 2023 00:54:44 +0000 (02:54 +0200)
committerEric Engestrom <eric@engestrom.ch>
Wed, 11 Jan 2023 17:44:22 +0000 (17:44 +0000)
commitd8cf98bcb816be400169fab32084d8ab349dd36f
tree8c4415b520aa635b15c96be8698ae172d984a79b
parent7d2915088d74d322714867c7befb431adfa15471
anv: use the null surface with unused push descriptor binding table entries

Some binding table entries have been identify as unused in the shaders
by the push constant analysis pass. We can just put the null entry in
there.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: b49b18f0b7 ("anv: reduce BT emissions & surface state writes with push descriptors")
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20555>
(cherry picked from commit 2d627f28c8fb55336d001846cfe70877b446d978)
.pick_status.json
src/intel/vulkan/genX_cmd_buffer.c