zink: stop double printing validation messages
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 1 Nov 2021 14:58:35 +0000 (10:58 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 3 Nov 2021 01:22:56 +0000 (01:22 +0000)
VVL already prints its messages using configurable settings. there's no
reason for zink to unconditionally repeat them immediately after

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13633>

src/gallium/drivers/zink/zink_screen.c

index 21ea1ac..58a147f 100644 (file)
@@ -1375,25 +1375,21 @@ check_have_device_time(struct zink_screen *screen)
 static void
 zink_error(const char *msg)
 {
-   fprintf(stderr, "zink ERR: '%s'\n", msg);
 }
 
 static void
 zink_warn(const char *msg)
 {
-   fprintf(stderr, "zink WRN: '%s'\n", msg);
 }
 
 static void
 zink_info(const char *msg)
 {
-   fprintf(stderr, "zink NFO: '%s'\n", msg);
 }
 
 static void
 zink_msg(const char *msg)
 {
-   fprintf(stderr, "zink MSG: '%s'\n", msg);
 }
 
 static VKAPI_ATTR VkBool32 VKAPI_CALL