Revert "mesa: check for z=0 in _mesa_Vertex3dv()"
authorMarek Olšák <marek.olsak@amd.com>
Thu, 27 Feb 2020 21:06:47 +0000 (16:06 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 5 Mar 2020 00:54:43 +0000 (19:54 -0500)
commitdf3891e74a72d275aceba91adc94a9e7dc9aa029
tree47e9e3b0817621a8b3d539e0b487136b3bd6aa55
parent9c9c314e419e4085250e892be55ab67a71625458
Revert "mesa: check for z=0 in _mesa_Vertex3dv()"

This reverts commit f04d7439a0ad6e13ff2912ff824553b6bcf511a4.

It no longer helps performance and the current vbo implementation is
faster anyway.

The app that hit this was a CAD program called Spazio3D. It made pretty
terrible use of the OpenGL API and we sent them some tips for improvements.
I'm assuming they've fixed this by now.

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/main/api_loopback.c