mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-27 01:20:36 +00:00
zink: print runtime warning on missing EXT_border_color_swizzle
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17029>
This commit is contained in:
parent
46b4017b37
commit
d275765630
@ -377,6 +377,10 @@ zink_create_sampler_state(struct pipe_context *pctx,
|
||||
}
|
||||
if (screen->info.have_EXT_custom_border_color &&
|
||||
screen->info.border_color_feats.customBorderColorWithoutFormat) {
|
||||
if (!screen->info.have_EXT_border_color_swizzle) {
|
||||
static bool warned = false;
|
||||
warn_missing_feature(warned, "VK_EXT_border_color_swizzle");
|
||||
}
|
||||
cbci.sType = VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT;
|
||||
cbci.format = VK_FORMAT_UNDEFINED;
|
||||
/* these are identical unions */
|
||||
|
Loading…
Reference in New Issue
Block a user