mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
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 commit6e60612d42)
This commit is contained in:
parent
a816d0c7a8
commit
2da7b58139
2 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue