radv: fix the sample max distance value for 8x
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 16 May 2019 09:54:06 +0000 (11:54 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 22 May 2019 06:36:39 +0000 (08:36 +0200)
It should be 7, not 8.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/si_cmd_buffer.c

index 9f6f92a42be5f43443cb58c978d895dc93b650aa..c73c6ecd65c4e81e418103a3ad8fc55ff6dbd723 100644 (file)
@@ -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)