mesa: inline draw validate functions
authorMarek Olšák <marek.olsak@amd.com>
Tue, 26 Jan 2021 06:34:45 +0000 (01:34 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Feb 2021 19:29:09 +0000 (19:29 +0000)
commit743b912f9d7e496a9def623b1e0259b6d9b615a9
treecf4988b86f663922ce2afab48e4c8d6916066e7d
parentde2f0b7ce3ac0a82e49e75a0ddd7d34c6f4179ee
mesa: inline draw validate functions

This just moves the functions to draw.c.

Our CPU overhead is so low now that this increases performance by a few %.

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
src/mesa/main/draw_validate.c
src/mesa/main/draw_validate.h