This was only used for meta operations. DCC/FMASK/FCE pipelines
only declare one color attachment and the color writemask of the
second color attachment is 0 for the HW CB resolve.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14650>
uint32_t commutative_4bit;
- bool single_cb_enable;
bool mrt0_is_dual_src;
};
unsigned num_targets;
if (render_create_info) {
- for (unsigned i = 0;
- i < (blend->single_cb_enable ? 1 : render_create_info->colorAttachmentCount); ++i) {
+ for (unsigned i = 0; i < render_create_info->colorAttachmentCount; ++i) {
unsigned cf;
VkFormat fmt = render_create_info->pColorAttachmentFormats[i];
int i;
if (extra && extra->custom_blend_mode) {
- blend.single_cb_enable = true;
mode = extra->custom_blend_mode;
}