[Mesa-dev] [PATCH] radv: bump texel offsets to align with radeonsi
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Thu Dec 22 12:58:32 UTC 2016
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
On Thu, Dec 22, 2016 at 2:09 AM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> it appears from the amdgpu-pro results the hw can do more,
> but let's just align with radeonsi for now.
>
> No CTS regressions.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
> src/amd/vulkan/radv_device.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> index 7c6dee6..5f90940 100644
> --- a/src/amd/vulkan/radv_device.c
> +++ b/src/amd/vulkan/radv_device.c
> @@ -496,10 +496,10 @@ void radv_GetPhysicalDeviceProperties(
> .minTexelBufferOffsetAlignment = 1,
> .minUniformBufferOffsetAlignment = 4,
> .minStorageBufferOffsetAlignment = 4,
> - .minTexelOffset = -8,
> - .maxTexelOffset = 7,
> - .minTexelGatherOffset = -8,
> - .maxTexelGatherOffset = 7,
> + .minTexelOffset = -32,
> + .maxTexelOffset = 31,
> + .minTexelGatherOffset = -32,
> + .maxTexelGatherOffset = 31,
> .minInterpolationOffset = 0, /* FIXME */
> .maxInterpolationOffset = 0, /* FIXME */
> .subPixelInterpolationOffsetBits = 0, /* FIXME */
> --
> 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