From: Samuel Pitoiset Date: Thu, 16 May 2019 09:54:06 +0000 (+0200) Subject: radv: fix the sample max distance value for 8x X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9bfd88183a4d524ab9883d2caf7d75e1756f60f;p=mesa.git radv: fix the sample max distance value for 8x It should be 7, not 8. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/si_cmd_buffer.c b/src/amd/vulkan/si_cmd_buffer.c index 9f6f92a42be..c73c6ecd65c 100644 --- a/src/amd/vulkan/si_cmd_buffer.c +++ b/src/amd/vulkan/si_cmd_buffer.c @@ -1335,7 +1335,7 @@ static const uint32_t sample_locs_8x[] = { 0, 0, }; -static const unsigned max_dist_8x = 8; +static const unsigned max_dist_8x = 7; static const uint64_t centroid_priority_8x = 0x7654321076543210ull; unsigned radv_get_default_max_sample_dist(int log_samples)