Mesa (master): anv/device: Add limits for InterpolationOffset
Anuj Phogat
aphogat at kemper.freedesktop.org
Fri Aug 12 17:47:25 UTC 2016
Module: Mesa
Branch: master
Commit: 0bf531aee6a2e6556a6c54f55c2ad23298677adb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0bf531aee6a2e6556a6c54f55c2ad23298677adb
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Thu Jul 28 17:37:20 2016 -0700
anv/device: Add limits for InterpolationOffset
Fixes the vulkan cts regression in test dEQP-VK.api.info.device.properties
Cc: Mark Janes <mark.a.janes at intel.com>
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
---
src/intel/vulkan/anv_device.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index aae925d..be3d333 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -524,9 +524,9 @@ void anv_GetPhysicalDeviceProperties(
.maxTexelOffset = 7,
.minTexelGatherOffset = -8,
.maxTexelGatherOffset = 7,
- .minInterpolationOffset = 0, /* FIXME */
- .maxInterpolationOffset = 0, /* FIXME */
- .subPixelInterpolationOffsetBits = 0, /* FIXME */
+ .minInterpolationOffset = -0.5,
+ .maxInterpolationOffset = 0.4375,
+ .subPixelInterpolationOffsetBits = 4,
.maxFramebufferWidth = (1 << 14),
.maxFramebufferHeight = (1 << 14),
.maxFramebufferLayers = (1 << 10),
More information about the mesa-commit
mailing list