panvk: enable dualSrcBlend

This is already implemented, we just didn't report it.

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34520>
This commit is contained in:
Erik Faye-Lund 2025-04-15 12:49:28 +02:00 committed by Marge Bot
parent 9301b7098a
commit 790093f625
2 changed files with 3 additions and 2 deletions

View file

@ -37,3 +37,4 @@ uniformAndStorageBuffer8BitAccess on panvk
MSAA with 8 and 16 sample counts on panvk
KHR_spirv_1_4 on panvk/v10+
Mali G720 and G725 on Panfrost and panvk
dualSrcBlend on panvk

View file

@ -359,6 +359,7 @@ get_features(const struct panvk_physical_device *device,
/* Vulkan 1.0 */
.depthClamp = true,
.depthBiasClamp = true,
.dualSrcBlend = true,
.robustBufferAccess = true,
.fullDrawIndexUint32 = true,
.imageCubeArray = true,
@ -758,8 +759,7 @@ get_device_properties(const struct panvk_instance *instance,
.maxFragmentInputComponents = 128,
/* 8 render targets. */
.maxFragmentOutputAttachments = 8,
/* We don't support dual source blending yet. */
.maxFragmentDualSrcAttachments = 0,
.maxFragmentDualSrcAttachments = max_cbuf_atts,
/* 8 render targets, 2^12 storage buffers and 2^8 storage images (see
* above).
*/