[Mesa-dev] [PATCH] radv: set some proper values for interp offset limits.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Thu Dec 22 12:58:48 UTC 2016


Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>

On Thu, Dec 22, 2016 at 2:53 AM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> These are taken from the amdgpu-pro driver, and cause no
> CTS change.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/amd/vulkan/radv_device.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> index 5f90940..47be5f7 100644
> --- a/src/amd/vulkan/radv_device.c
> +++ b/src/amd/vulkan/radv_device.c
> @@ -500,9 +500,9 @@ void radv_GetPhysicalDeviceProperties(
>                 .maxTexelOffset                           = 31,
>                 .minTexelGatherOffset                     = -32,
>                 .maxTexelGatherOffset                     = 31,
> -               .minInterpolationOffset                   = 0, /* FIXME */
> -               .maxInterpolationOffset                   = 0, /* FIXME */
> -               .subPixelInterpolationOffsetBits          = 0, /* FIXME */
> +               .minInterpolationOffset                   = -2,
> +               .maxInterpolationOffset                   = 2,
> +               .subPixelInterpolationOffsetBits          = 8,
>                 .maxFramebufferWidth                      = (1 << 14),
>                 .maxFramebufferHeight                     = (1 << 14),
>                 .maxFramebufferLayers                     = (1 << 10),
> --
> 2.9.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list