turnip: fix znear clipping
authorJonathan Marek <jonathan@marek.ca>
Tue, 24 Mar 2020 01:33:36 +0000 (21:33 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 24 Mar 2020 13:01:44 +0000 (13:01 +0000)
commitafe27d5345f3addf770a2dee3f74c42f9ab93ae9
treec4833cc78295e706d94061541501403009636dfd
parent07a8100aed64c64dee5966c5560f299d866bd0c9
turnip: fix znear clipping

Vulkan clips znear at 0 instead of -1.

Fixes dEQP-VK.draw.inverted_depth_ranges.nodepthclamp_*

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4293>
src/freedreno/vulkan/tu_pipeline.c