vbo: clean up conditional blocks in ATTR_UNION
authorMarek Olšák <marek.olsak@amd.com>
Thu, 27 Feb 2020 20:30:08 +0000 (15:30 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 5 Mar 2020 00:54:43 +0000 (19:54 -0500)
commit8205042be60ccfe8d1661767e6f293c97d33e2cd
tree66d95f9036acebd7549b00e8682be9cd07ac287d
parent4c6323c49f1f394f54ea9b9d8e514c2706e3984d
vbo: clean up conditional blocks in ATTR_UNION

Move the A != 0 code to the first block.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4052>
src/mesa/vbo/vbo_exec_api.c