From e9bfd88183a4d524ab9883d2caf7d75e1756f60f Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 16 May 2019 11:54:06 +0200 Subject: [PATCH] radv: fix the sample max distance value for 8x It should be 7, not 8. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/si_cmd_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2