mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 03:00:24 +01:00
zink: don't warn for missing customBorderColorWithoutFormat on turnip
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17189>
This commit is contained in:
parent
6872adda26
commit
2f46495ac0
1 changed files with 2 additions and 1 deletions
|
|
@ -373,7 +373,8 @@ zink_create_sampler_state(struct pipe_context *pctx,
|
|||
|
||||
sci.borderColor = get_border_color(&state->border_color, is_integer, need_custom);
|
||||
if (sci.borderColor > VK_BORDER_COLOR_INT_OPAQUE_WHITE && need_custom) {
|
||||
if (!screen->info.border_color_feats.customBorderColorWithoutFormat) {
|
||||
if (!screen->info.border_color_feats.customBorderColorWithoutFormat &&
|
||||
screen->info.driver_props.driverID != VK_DRIVER_ID_MESA_TURNIP) {
|
||||
static bool warned = false;
|
||||
warn_missing_feature(warned, "customBorderColorWithoutFormat");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue