anv: bump the texture gather offset limits
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 28 Nov 2016 02:05:36 +0000 (21:05 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Nov 2016 15:44:01 +0000 (07:44 -0800)
This matches what NVIDIA and AMD hardware expose, as well as what Intel
hardware supports.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c

index b8e00baf43d940467d006c4d2eb639ee4c869b1c..20a3d7d989944bd40982df40db01992c962dc611 100644 (file)
@@ -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,