Mesa (master): turnip: Enable occlusionQueryPrecise

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jan 29 19:28:00 UTC 2020


Module: Mesa
Branch: master
Commit: 3d5bdea2cf4199191c898ba433d1c099f0b0b173
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d5bdea2cf4199191c898ba433d1c099f0b0b173

Author: Brian Ho <brian at brkho.com>
Date:   Tue Jan 28 17:18:27 2020 -0500

turnip: Enable occlusionQueryPrecise

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
index 95fdccb69fe..8dfb288b028 100644
--- a/src/freedreno/vulkan/tu_device.c
+++ b/src/freedreno/vulkan/tu_device.c
@@ -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,



More information about the mesa-commit mailing list