From: Erik Faye-Lund Date: Tue, 19 Apr 2022 12:50:47 +0000 (+0200) Subject: lavapipe: quiet non-conformant warning on ci X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c61aa5eed964207276e40880a2db11fa1292073;p=platform%2Fupstream%2Fmesa.git lavapipe: quiet non-conformant warning on ci 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 Part-of: --- diff --git a/src/gallium/frontends/lavapipe/ci/gitlab-ci.yml b/src/gallium/frontends/lavapipe/ci/gitlab-ci.yml index 2dfb6de..fdf6329 100644 --- a/src/gallium/frontends/lavapipe/ci/gitlab-ci.yml +++ b/src/gallium/frontends/lavapipe/ci/gitlab-ci.yml @@ -15,6 +15,7 @@ lavapipe: - mesa-swrast variables: DEQP_SUITE: lvp + MESA_VK_IGNORE_CONFORMANCE_WARNING: 1 stage: software-renderer extends: - .lavapipe-test diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index 1bc9a93..f695104 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -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;