lavapipe: quiet non-conformant warning on ci
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 19 Apr 2022 12:50:47 +0000 (14:50 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 26 Apr 2022 13:47:34 +0000 (13:47 +0000)
This helper has built-in support to be quieted, which seems like a good
idea to do on ci.

Let's enable the quieting while we're at it.

Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16033>

src/gallium/frontends/lavapipe/ci/gitlab-ci.yml
src/gallium/frontends/lavapipe/lvp_device.c

index 2dfb6de..fdf6329 100644 (file)
@@ -15,6 +15,7 @@ lavapipe:
     - mesa-swrast
   variables:
     DEQP_SUITE: lvp
+    MESA_VK_IGNORE_CONFORMANCE_WARNING: 1
   stage: software-renderer
   extends:
     - .lavapipe-test
index 1bc9a93..f695104 100644 (file)
@@ -1469,7 +1469,7 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_CreateDevice(
    const VkAllocationCallbacks*                pAllocator,
    VkDevice*                                   pDevice)
 {
-   fprintf(stderr, "WARNING: lavapipe is not a conformant vulkan implementation, testing use only.\n");
+   vk_warn_non_conformant_implementation("lavapipe");
 
    LVP_FROM_HANDLE(lvp_physical_device, physical_device, physicalDevice);
    struct lvp_device *device;