mesa/src/broadcom
Jose Maria Casanova Crespo b88d395c75 v3dv: disable blending when logicOpEnable is set
The Vulkan spec states:

 "If logicOpEnable is VK_TRUE, then a logical operation selected by
  logicOp is applied between each color attachment and the
  fragment’s corresponding output value, and blending of all
  attachments is treated as if it were disabled. Any attachments
  using color formats for which logical operations are not supported
  simply pass through the color values unmodified."

pack_blend() was only checking blendEnable from the attachment state,
causing hardware blending to be applied even when logic ops were enabled.

This is the v3dv equivalent of the RADV fix in commit c172f6ef01
("radv: fix disabling logic op for srgb/float formats when blending
is enabled").

Fixes: dEQP-VK.pipeline.monolithic.logic_op_na_formats.*_blend
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40025>
2026-02-23 13:07:36 +00:00
..
ci v3dv: disable blending when logicOpEnable is set 2026-02-23 13:07:36 +00:00
cle broadcom/cle: ensure zlib inflate assign memory 2026-02-03 16:44:13 +00:00
clif build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
common broadcom: don't hardcode pagesize 2026-02-05 08:53:37 +00:00
compiler broadcom/compiler: Update comment clarifying OpTerminate implementation 2026-02-10 06:20:25 +00:00
drm-shim v3d/drm-shim: add support for multisync 2025-08-04 08:06:36 +02:00
ds mesa: replace most occurrences of getenv() with os_get_option() 2025-11-06 04:36:13 +00:00
perfcntrs broadcom: Add perfcount library 2024-12-02 14:13:24 +00:00
qpu broadcom/compiler: enable umul24 and imul24 ALU opcodes 2025-11-26 13:32:39 +00:00
simulator treewide: use UTIL_DYNARRAY_INIT 2025-11-04 13:39:48 +00:00
vulkan v3dv: disable blending when logicOpEnable is set 2026-02-23 13:07:36 +00:00
.editorconfig
meson.build broadcom: Add perfetto data source 2024-12-13 12:29:11 +00:00