From 7a8def8c18b38e629401f70328e387b48440da3a Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sun, 27 Nov 2016 21:05:36 -0500 Subject: [PATCH] anv: bump the texture gather offset limits This matches what NVIDIA and AMD hardware expose, as well as what Intel hardware supports. Signed-off-by: Ilia Mirkin Reviewed-by: Jason Ekstrand --- src/intel/vulkan/anv_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index b8e00ba..20a3d7d 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -582,8 +582,8 @@ void anv_GetPhysicalDeviceProperties( .minStorageBufferOffsetAlignment = 1, .minTexelOffset = -8, .maxTexelOffset = 7, - .minTexelGatherOffset = -8, - .maxTexelGatherOffset = 7, + .minTexelGatherOffset = -32, + .maxTexelGatherOffset = 31, .minInterpolationOffset = -0.5, .maxInterpolationOffset = 0.4375, .subPixelInterpolationOffsetBits = 4, -- 2.7.4