zink: apply ZINK_DEBUG=quiet to all missing feature warnings

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25645>
This commit is contained in:
Mike Blumenkrantz 2023-10-10 11:43:18 -04:00 committed by Marge Bot
parent 833f04d261
commit eb94d235fb

View file

@ -162,9 +162,10 @@ zink_screen_debug_marker_end(struct zink_screen *screen, bool emitted);
#define warn_missing_feature(warned, feat) \
do { \
if (!warned) { \
mesa_logw("WARNING: Incorrect rendering will happen " \
"because the Vulkan device doesn't support " \
"the '%s' feature\n", feat); \
if (!(zink_debug & ZINK_DEBUG_QUIET)) \
mesa_logw("WARNING: Incorrect rendering will happen " \
"because the Vulkan device doesn't support " \
"the '%s' feature\n", feat); \
warned = true; \
} \
} while (0)