zink: only run nir_lower_clip_halfz for last vertex processing stage
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 17 Jul 2020 14:48:45 +0000 (10:48 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 22 Dec 2020 13:46:38 +0000 (13:46 +0000)
commit15f478fe840c29ba118fbb4fa49118f85fb208c6
tree508f4672456b8ccfd04ba8b323aa41b6710782ba
parent5b2c397c54f7690a7ddb3c8bf18e4cb088dbd504
zink: only run nir_lower_clip_halfz for last vertex processing stage

this lets us remove the calcs to un-convert POS during load

Reviewed-by: Erik Faye-Lund <kusmabite@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8152>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
src/gallium/drivers/zink/zink_compiler.c