rusticl/mesa: fix `set_constant_buffer` when passing an empty buffer
authorKarol Herbst <kherbst@redhat.com>
Wed, 20 Sep 2023 10:46:13 +0000 (12:46 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 21 Sep 2023 07:58:34 +0000 (07:58 +0000)
commita9f408bd5214ff7a6698099f08ddec2063d21d4d
tree1d64622310fa3c61f654c521aec8a25b3b981c7b
parentf1b9b7f95566a7d89e5da90c55ac5d9b7ad8a4a9
rusticl/mesa: fix `set_constant_buffer` when passing an empty buffer

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25303>
src/gallium/frontends/rusticl/mesa/pipe/context.rs