zink: delete zink_fb_clear_util_unpack_clear_color

no longer used

Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17366>
This commit is contained in:
Mike Blumenkrantz
2022-07-06 10:35:03 -04:00
committed by Marge Bot
parent d8fa4e6797
commit b0e62adbcc
4 changed files with 2 additions and 11 deletions

View File

@@ -528,7 +528,7 @@ begin_render_pass(struct zink_context *ctx)
continue;
}
/* we now know there's one clear that can be done here */
zink_fb_clear_util_unpack_clear_color(clear, fb_state->cbufs[i]->format, (void*)&clears[i].color);
memcpy(&clears[i].color, &clear->color.color, sizeof(float) * 4);
rpbi.clearValueCount = i + 1;
clear_validate |= PIPE_CLEAR_COLOR0 << i;
assert(ctx->framebuffer->rp->state.clears);