spirv: add support for SpvOpFragment{Mask}FetchAMD operations
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 7 Jan 2020 07:45:24 +0000 (08:45 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jan 2020 10:48:02 +0000 (10:48 +0000)
commit76a34f5d3f63e2c672dcd66681040ce6fd95a51c
tree8701974842ae37ec4949acbc1acc6d93ba37893b
parent603e6ba972dae06fe0a198fc00b6aa4a0a33d479
spirv: add support for SpvOpFragment{Mask}FetchAMD operations

nir_tex_src_ms_index is re-used for the fragment index with
nir_texop_fragment_fetch to avoid introducing a new texture source type.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3304>
src/compiler/spirv/spirv_to_nir.c