vulkan: track the right value on CmdSetColorWriteMasks

Fixes: 092be5a329 ("vulkan: Add more dynamic color blend states")

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21509>
(cherry picked from commit 6e60612d42)
This commit is contained in:
Iván Briano 2023-02-23 11:52:58 -08:00 committed by Dylan Baker
parent a816d0c7a8
commit 2da7b58139
2 changed files with 2 additions and 2 deletions

View file

@ -742,7 +742,7 @@
"description": "vulkan: track the right value on CmdSetColorWriteMasks",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "092be5a32905989f620ff1926c2e3056fc4fea39"
},

View file

@ -2527,7 +2527,7 @@ vk_common_CmdSetColorWriteMaskEXT(VkCommandBuffer commandBuffer,
uint32_t a = firstAttachment + i;
assert(a < ARRAY_SIZE(dyn->cb.attachments));
SET_DYN_VALUE(dyn, CB_BLEND_EQUATIONS,
SET_DYN_VALUE(dyn, CB_WRITE_MASKS,
cb.attachments[a].write_mask, pColorWriteMasks[i]);
}
}