venus: set lvp queries as saturate on overflow
authorJuston Li <justonli@google.com>
Wed, 18 Oct 2023 21:46:49 +0000 (14:46 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 19 Oct 2023 23:28:01 +0000 (23:28 +0000)
Test case 'dEQP-VK.pipeline.monolithic.timestamp.misc_tests.consistent_results'..
  Fail (Results are inconsistent: B32=0xffffffff B64=0x10103ba2cdd4e G32=0xba2cdd4e G64=0x10103ba2cdd4e)

Fixes: e6cffa1f0e4e ("venus: use feedback for vkGetQueryPoolResults")

Signed-off-by: Juston Li <justonli@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25820>

src/virtio/vulkan/vn_query_pool.c

index e8bca85..07943f4 100644 (file)
@@ -114,6 +114,7 @@ vn_CreateQueryPool(VkDevice device,
     */
    switch (dev->physical_device->renderer_driver_id) {
    case VK_DRIVER_ID_ARM_PROPRIETARY:
+   case VK_DRIVER_ID_MESA_LLVMPIPE:
    case VK_DRIVER_ID_MESA_TURNIP:
       pool->saturate_on_overflow = true;
       break;