r600: Delete vertex buffer only if there is actually a shader state
authorGert Wollny <gert.wollny@collabora.com>
Sat, 28 Dec 2019 16:17:02 +0000 (17:17 +0100)
committerGert Wollny <gw.fossdev@gmail.com>
Sat, 4 Jan 2020 16:22:40 +0000 (16:22 +0000)
commitb119f8b4a050b2f37b0abbda669b7e27b0cd538b
tree5bb79c4b66080f5cb8b73764b34ea3e152cf1726
parent32bb5f294103f3e80a4d5b8f0e2f89960d06b083
r600: Delete vertex buffer only if there is actually a shader state

Fixes: gl-2.0-vertexattribpointer
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Konstantin Kharlamov <hi-angel@yandex.ru>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3286>
src/gallium/drivers/r600/r600_state_common.c