anv: handle null push descriptors in deferred optimization
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 21 Dec 2022 20:39:29 +0000 (22:39 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 22 Dec 2022 14:07:21 +0000 (14:07 +0000)
commit739a08ad2352f1c10bad623350c1e321d0fbc9af
tree6cce9879235128763c44cb87bd60b870c4e986be
parentc52b7aa732e78d2ed93ef95a42262fae270c2027
anv: handle null push descriptors in deferred optimization

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: b49b18f0 ("anv: reduce BT emissions & surface state writes with push descriptors")
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20410>
src/intel/vulkan/genX_cmd_buffer.c