Mesa (main): lavapipe: quiet non-conformant warning on ci
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 26 14:11:19 UTC 2022
Module: Mesa
Branch: main
Commit: 5c61aa5eed964207276e40880a2db11fa1292073
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c61aa5eed964207276e40880a2db11fa1292073
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Tue Apr 19 14:50:47 2022 +0200
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 <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16033>
---
src/gallium/frontends/lavapipe/ci/gitlab-ci.yml | 1 +
src/gallium/frontends/lavapipe/lvp_device.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/frontends/lavapipe/ci/gitlab-ci.yml b/src/gallium/frontends/lavapipe/ci/gitlab-ci.yml
index 2dfb6de6d62..fdf6329731d 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 1bc9a936c89..f6951049bd3 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;
More information about the mesa-commit
mailing list