Memcmp returns 0 on equal, so !memcmp means equal.
Fixes:
c92729c3 ("dzn: Enable independent blending")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20823>
for (uint32_t i = 0; i < in_blend->attachmentCount; i++) {
if (i > 0 &&
- !memcmp(&in_blend->pAttachments[i - 1], &in_blend->pAttachments[i],
- sizeof(*in_blend->pAttachments)))
+ memcmp(&in_blend->pAttachments[i - 1], &in_blend->pAttachments[i],
+ sizeof(*in_blend->pAttachments)) != 0)
desc->IndependentBlendEnable = true;
desc->RenderTarget[i].BlendEnable =