zink: handle more glsl->spirv builtin translation
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 11 Jun 2020 19:22:53 +0000 (15:22 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Jun 2020 15:36:06 +0000 (15:36 +0000)
commitf90bc6daa973b3d762d87254bf4cbe2a71475fda
tree17bf00fcd33ebfd6d047d204c85ac87afc81071a
parent9b6a8d17424ac5fa11ccf44c02da2a237088cb76
zink: handle more glsl->spirv builtin translation

this should be all of them, though the check for vertex shader stage needs
to be changed to !fragment stage at some point

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