panfrost: Match sampler "nearest" names
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 12 Jul 2021 23:32:17 +0000 (19:32 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 23 Jul 2021 20:12:18 +0000 (20:12 +0000)
commitc80732eab30c043f0d2dc5641030e747f645e6a1
tree808016706bfa8f2179d8234b404334fc288e6e9b
parentfd298985c80eb2e71bbd17a9e62527b580993ba4
panfrost: Match sampler "nearest" names

Midgard calls this nearest but Bifrost calls it point sample. Of the
two, nearest is the standard term, so change the Bifrost XML to use that
name. That way we can share more code constructing samplers.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11851>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/panfrost/lib/midgard.xml
src/panfrost/lib/pan_blitter.c
src/panfrost/vulkan/panvk_device.c