summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-05-16 11:54:06 +0200
committerSamuel Pitoiset <[email protected]>2019-05-22 08:36:39 +0200
commite9bfd88183a4d524ab9883d2caf7d75e1756f60f (patch)
treebe8b5b54ec037714720971909c51d2d659ee11c0
parentbc4548ca3dfbaf8ceb98684c66c344b8de14d655 (diff)
radv: fix the sample max distance value for 8x
It should be 7, not 8. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r--src/amd/vulkan/si_cmd_buffer.c2
1 files changed, 1 insertions, 1 deletions
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)