mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
vk/graphics: fix CWE handling with DS3
VkPipelineColorBlendStateCreateInfo::attachmentCount cannot be used to generate the CWE mask since it cannot be read if enough dynamic state is in use instead just pass the max mask and let drivers figure it out cc: mesa-stable Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24673>
This commit is contained in:
parent
e13bdbbd5b
commit
0fb9064231
1 changed files with 1 additions and 1 deletions
|
|
@ -992,7 +992,7 @@ vk_color_blend_state_init(struct vk_color_blend_state *cb,
|
|||
}
|
||||
cb->color_write_enables = color_write_enables;
|
||||
} else {
|
||||
cb->color_write_enables = BITFIELD_MASK(cb_info->attachmentCount);
|
||||
cb->color_write_enables = BITFIELD_MASK(MESA_VK_MAX_COLOR_ATTACHMENTS);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue