mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 06:50:10 +01:00
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:
parent
833f04d261
commit
eb94d235fb
1 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue