mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
vulkan: ignore VkPipelineColorWriteCreateInfoEXT if the state is dynamic
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24601>
(cherry picked from commit ce0c70fb0c)
This commit is contained in:
parent
dbb887f013
commit
6d080b3e82
2 changed files with 2 additions and 2 deletions
|
|
@ -7354,7 +7354,7 @@
|
|||
"description": "vulkan: ignore VkPipelineColorWriteCreateInfoEXT if the state is dynamic",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -983,7 +983,7 @@ vk_color_blend_state_init(struct vk_color_blend_state *cb,
|
|||
|
||||
const VkPipelineColorWriteCreateInfoEXT *cw_info =
|
||||
vk_find_struct_const(cb_info->pNext, PIPELINE_COLOR_WRITE_CREATE_INFO_EXT);
|
||||
if (cw_info != NULL) {
|
||||
if (!IS_DYNAMIC(CB_COLOR_WRITE_ENABLES) && cw_info != NULL) {
|
||||
uint8_t color_write_enables = 0;
|
||||
assert(cb_info->attachmentCount == cw_info->attachmentCount);
|
||||
for (uint32_t a = 0; a < cw_info->attachmentCount; a++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue