zink: move blend_operation_advanced conditions to zink_device_info.py

Acked-by: Adam Jackson <ajax@redhat.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7756>
This commit is contained in:
Hoe Hao Cheng
2020-11-25 01:56:56 +08:00
committed by Marge Bot
parent a103666b02
commit 3f1d4de25b
2 changed files with 3 additions and 6 deletions

View File

@@ -96,7 +96,9 @@ def EXTENSIONS():
conditions=["$feats.customBorderColors"]),
Extension("VK_EXT_blend_operation_advanced",
alias="blend",
properties=True),
properties=True,
# TODO: we can probably support non-premul here with some work?
conditions=["$props.advancedBlendNonPremultipliedSrcColor", "$props.advancedBlendNonPremultipliedDstColor"]),
Extension("VK_EXT_extended_dynamic_state",
alias="dynamic_state",
features=True,