zink: add ntv handling for ARB_sample_shading
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 16 Oct 2020 16:18:05 +0000 (12:18 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 16 Oct 2020 17:14:51 +0000 (17:14 +0000)
commitb009bd968599ea2a6c319c2750b0b12b15582e8d
treeaa61fbeba81c019c996905a50eb8f2cc63eb1e62
parent441b32bf3f4ea79b90f5c4de4ffab180dc53d2f8
zink: add ntv handling for ARB_sample_shading

this involves variable handling and decorations as well as a weird bitcast
for the array[1] gl_SampleMask in spirv

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