Mesa (master): anv: bump the texture gather offset limits

Jason Ekstrand jekstrand at kemper.freedesktop.org
Tue Nov 29 15:44:32 UTC 2016


Module: Mesa
Branch: master
Commit: 7a8def8c18b38e629401f70328e387b48440da3a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a8def8c18b38e629401f70328e387b48440da3a

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Sun Nov 27 21:05:36 2016 -0500

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 <imirkin at alum.mit.edu>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

---

 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,




More information about the mesa-commit mailing list