mesa: remove optional draw validation code to increase performance
authorMarek Olšák <marek.olsak@amd.com>
Mon, 25 Jan 2021 16:22:24 +0000 (11:22 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Feb 2021 19:29:09 +0000 (19:29 +0000)
commit6daa113c39760fdf0178154a2cd4b53cebe24cd5
tree2f658efab9834a33b37e3a926c3aeee892b39ebf
parent055129029828cc870aa7b35377b36ea4e006b516
mesa: remove optional draw validation code to increase performance

Some drivers do similar validation in their draw calls.

If drivers need some of this, we can do it in the drivers or even in
_mesa_draw_gallium_fallback for classic drivers.

Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8798>
src/mesa/main/draw.c