mesa: move blending validation from draws to state changes
authorMarek Olšák <marek.olsak@amd.com>
Sun, 24 Jan 2021 21:48:13 +0000 (16:48 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Feb 2021 19:29:09 +0000 (19:29 +0000)
commitbf9d61a3d40c9a95cff9a25a16d62eeb1e9b5577
tree469616508f44267b99a09fde7304b918109863da
parent40341c5118ceeba522dcf9643c38843df2a4c1b6
mesa: move blending validation from draws to state changes

This is a step towards removing _mesa_valid_to_render.

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