turnip: Advertise 8 bit subpixel precision
authorBrian Ho <brian@brkho.com>
Thu, 12 Mar 2020 21:27:29 +0000 (14:27 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 3 Apr 2020 16:27:56 +0000 (16:27 +0000)
commit355abfeed5fd234433a24ce983e3abc48c2d2b58
tree64488dcac4ef1502495927dfe4437a03dc2a4d13
parent61566f2ae18c7d4906f24150965aea809b7680f9
turnip: Advertise 8 bit subpixel precision

Previously, turnip advertised 4-bit subpixel precision when in
practice, a6xx seems to render with 8-bit precision. This caused
dEQP-VK.renderpass2.suballocation.subpass_dependencies.late_fragment_tests.*
to fail because they compare images rendered with turnip against
ones rendered via a software reference implementation parameterized
by turnip's VkPhysicalDeviceLimits.subPixelPrecisionBits value.

Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4172>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4172>
src/freedreno/vulkan/tu_device.c