[Mesa-dev] [PATCH 4/4] radv: fix the sample max distance value for 8x
Samuel Pitoiset
samuel.pitoiset at gmail.com
Thu May 16 09:54:06 UTC 2019
It should be 7, not 8.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
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.21.0
More information about the mesa-dev
mailing list