radv: Consider maximum sample distances for entire grid.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 7 Apr 2020 20:23:09 +0000 (22:23 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 8 Apr 2020 10:53:33 +0000 (10:53 +0000)
commita3682670c821d34a6c6ffdcb0c68d4ed42916f98
treef4389ae6f515637dea28c76243a2775a7521f15f
parent9f005f1f850710ea456f9847b1d247aaa8f0d6d2
radv: Consider maximum sample distances for entire grid.

The other pixels in the grid might have samples with a larger
distance than the (0,0) pixel.

Fixes dEQP-VK.pipeline.multisample.sample_locations_ext.verify_location.samples_8_packed
when CTS is compiled with clang.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4480>
src/amd/vulkan/radv_cmd_buffer.c