v3dv: lower interpolateAt functions in NIR and enable sample rate shading
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 6 Aug 2020 12:15:41 +0000 (14:15 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:33 +0000 (21:21 +0000)
commit57a337f26e0f605d9b72b56612683430edfb90d8
tree9ac86a04228217f7eaa3e95af2a9e198cc3e557f
parent6004ad9df1d3ee6cfba90de029c867da73660800
v3dv: lower interpolateAt functions in NIR and enable sample rate shading

The lowering will get all the interpolateAt() functions from GLSL lowered to
the corresponding intrinsics we have just implemented in the compiler backend,
which was the last piece we needed to enable the feature.

This gets us to pass all the relevant tests in:
dEQP-VK.pipeline.multisample_interpolation.*

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_device.c
src/broadcom/vulkan/v3dv_pipeline.c