From: Dave Airlie Date: Thu, 22 Dec 2016 01:52:30 +0000 (+1000) Subject: radv: set some proper values for interp offset limits. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7279f16a0bf37a26e2556b188c760cd16fd60bb;p=mesa.git radv: set some proper values for interp offset limits. These are taken from the amdgpu-pro driver, and cause no CTS change. Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 5f909409161..47be5f743f5 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -500,9 +500,9 @@ void radv_GetPhysicalDeviceProperties( .maxTexelOffset = 31, .minTexelGatherOffset = -32, .maxTexelGatherOffset = 31, - .minInterpolationOffset = 0, /* FIXME */ - .maxInterpolationOffset = 0, /* FIXME */ - .subPixelInterpolationOffsetBits = 0, /* FIXME */ + .minInterpolationOffset = -2, + .maxInterpolationOffset = 2, + .subPixelInterpolationOffsetBits = 8, .maxFramebufferWidth = (1 << 14), .maxFramebufferHeight = (1 << 14), .maxFramebufferLayers = (1 << 10),