mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +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>
This commit is contained in:
parent
9f1e6d8f70
commit
6e60612d42
1 changed files with 1 additions and 1 deletions
|
|
@ -2542,7 +2542,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