tu: Clamp sample locations
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 30 Sep 2022 13:53:42 +0000 (15:53 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 3 Nov 2022 21:59:42 +0000 (21:59 +0000)
commitd99e5ffee71886be6255f13ab973b409b891db55
tree6a7cac576bf9e5220f43bb1f9902b77c243a1a18
parente63c8b3bf1b18cf10a6142cf46bc61b2c680e869
tu: Clamp sample locations

This was missed in the initial implementation and fixes extreme sample
locations like (1.0, 1.0).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18912>
src/freedreno/vulkan/tu_common.h
src/freedreno/vulkan/tu_device.c
src/freedreno/vulkan/tu_pipeline.c