[4/4] radv: fix the sample max distance value for 8x

Submitted by Samuel Pitoiset on May 16, 2019, 9:54 a.m.

Details

Message ID 20190516095406.7227-4-samuel.pitoiset@gmail.com
State Accepted
Commit e9bfd88183a4d524ab9883d2caf7d75e1756f60f
Headers show
Series "Series without cover letter" ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Samuel Pitoiset May 16, 2019, 9:54 a.m.
It should be 7, not 8.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
---
 src/amd/vulkan/si_cmd_buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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)

Comments

r-b

On Thu, May 16, 2019 at 11:51 AM Samuel Pitoiset
<samuel.pitoiset@gmail.com> wrote:
>
> It should be 7, not 8.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset@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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev