From: Anuj Phogat Date: Fri, 29 Jul 2016 00:37:20 +0000 (-0700) Subject: anv/device: Add limits for InterpolationOffset X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bf531aee6a2e6556a6c54f55c2ad23298677adb;p=mesa.git anv/device: Add limits for InterpolationOffset Fixes the vulkan cts regression in test dEQP-VK.api.info.device.properties Cc: Mark Janes Signed-off-by: Anuj Phogat Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index aae925ded47..be3d333e165 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),