turnip: Enable occlusionQueryPrecise
authorBrian Ho <brian@brkho.com>
Tue, 28 Jan 2020 22:18:27 +0000 (17:18 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 19:05:23 +0000 (19:05 +0000)
This commit enables the occlusionQueryPrecise feature. No additonal
work is required as occlusion queries are already implemented to
track exact sample counts.

Also enables a number of extra tests on the Vulkan CTS.

Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3605>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3605>

src/freedreno/vulkan/tu_device.c

index 95fdccb69fe0d24d8f7361eaa484e811763ebd58..8dfb288b02873b442aeb6c2485da0068cc7fb753 100644 (file)
@@ -585,7 +585,7 @@ tu_GetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice,
       .textureCompressionETC2 = true,
       .textureCompressionASTC_LDR = true,
       .textureCompressionBC = true,
-      .occlusionQueryPrecise = false,
+      .occlusionQueryPrecise = true,
       .pipelineStatisticsQuery = false,
       .vertexPipelineStoresAndAtomics = false,
       .fragmentStoresAndAtomics = false,