etnaviv: use nir_lower_clip_halfz instead of open-coding

Graphics / Mesa 3D Graphics Library / Mesa - Erik Faye-Lund [collabora.com] - 3 January 2020 22:48 EST

We already have a helper for this, so let's use that instead of rolling our own version.

56fc791b319 etnaviv: use nir_lower_clip_halfz instead of open-coding
src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c | 23 +++-------------------
1 file changed, 3 insertions(+), 20 deletions(-)

Upstream: cgit.freedesktop.org


  • Share