freedreno: Move FD_MESA_DEBUG cases out of draw_vbo
authorRob Clark <robdclark@chromium.org>
Sat, 11 Feb 2023 16:03:35 +0000 (08:03 -0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 16 Feb 2023 19:57:13 +0000 (19:57 +0000)
commitc938101bb550931dfd67162762a48711383088ea
treeb70ee69235778dcf36a2b6c269b34b062dcc7385
parent8942f4b7340f932d1bef2ab22bef286c0e09722b
freedreno: Move FD_MESA_DEBUG cases out of draw_vbo

If the debug options are enabled, just plug in a debug version of
draw_vbo with the additional checks.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21274>
src/gallium/drivers/freedreno/freedreno_batch.c
src/gallium/drivers/freedreno/freedreno_draw.c