zink: set PIPE_CAP_VIEWPORT_TRANSFORM_LOWERED and remove POS special casing
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 17 Jun 2020 17:47:22 +0000 (13:47 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 17 Jun 2020 20:42:01 +0000 (20:42 +0000)
commit1983609212e35d5d48809b675ee9db1bd64964ea
tree5c853138e31ca911743c2d5efcbb36bc792c5c88
parent37778fcd9a352430af0cd3b28a8776479a7c8380
zink: set PIPE_CAP_VIEWPORT_TRANSFORM_LOWERED and remove POS special casing

this cap creates a different varying output which remains constant to be
emitted by xfb, allowing us to drop the special-casing code in ntv

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5163>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
src/gallium/drivers/zink/zink_screen.c