[Mesa-dev] [PATCH v2 3/3] anv: bump the texture gather offset limits

Ilia Mirkin imirkin at alum.mit.edu
Mon Nov 28 02:05:36 UTC 2016


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>
---
 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 cae22d7..85ad206 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -554,8 +554,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.3



More information about the mesa-dev mailing list