mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
zink: use warn_missing_feature for missing modifier support
To avoid spamming VKCTS output. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25636>
This commit is contained in:
parent
2ac2268ce7
commit
ea0e22da44
1 changed files with 2 additions and 1 deletions
|
|
@ -1764,7 +1764,8 @@ zink_resource_get_handle(struct pipe_screen *pscreen,
|
|||
assert(!res->all_binds); //TODO handle if problematic
|
||||
assert(!zink_resource_usage_is_unflushed(res));
|
||||
if (!screen->info.have_EXT_image_drm_format_modifier) {
|
||||
mesa_loge("zink: EXT_image_drm_format_modifier support required");
|
||||
static bool warned = false;
|
||||
warn_missing_feature(warned, "zink: EXT_image_drm_format_modifier support required");
|
||||
return false;
|
||||
}
|
||||
unsigned bind = ZINK_BIND_DMABUF;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue