swr/rasterizer: Use private functions for min/max to avoid namespace issues.
authorVinson Lee <vlee@freedesktop.org>
Tue, 17 Mar 2020 05:49:39 +0000 (22:49 -0700)
committerVinson Lee <vlee@freedesktop.org>
Fri, 10 Apr 2020 00:57:02 +0000 (17:57 -0700)
commit0536ca20d757b5ca9fc9f989ba64a545ab8235d7
treebcfe8284225b26bf4bb6725109b9e521ee5790e8
parent089e1fb287eb9b70c191091128ed5ba7edd2960a
swr/rasterizer: Use private functions for min/max to avoid namespace issues.

This is a similiar fix as bb2287ccdf46 ("gallivm/tessellator: use
private functions for min/max to avoid namespace issues").

Fixes: ab5570820071 ("swr/rasterizer: Add tessellator implementation to the rasterizer")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Jan Zielinski <jan.zielinski@intel.com>
Tested-by: Jan Zielinski <jan.zielinski@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4208>
src/gallium/drivers/swr/rasterizer/core/tessellator.cpp