zink: fix sizing on resolve resource array

let the compiler figure it out instead of mis-sizing it

Fixes: a71b6ac41a ("tc: also inline depth resolves")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37012>
This commit is contained in:
Mike Blumenkrantz 2025-08-27 07:10:15 -04:00 committed by Marge Bot
parent 8c1519318f
commit 92f2ef5a72

View file

@ -3179,7 +3179,7 @@ begin_rendering(struct zink_context *ctx, bool check_msaa_expand)
}
}
if (use_tc_info && ctx->dynamic_fb.tc_info.has_resolve) {
struct zink_resource *resolves[3] = {
struct zink_resource *resolves[] = {
zink_resource(ctx->fb_state.resolve),
zink_resource(ctx->dynamic_fb.tc_info.resolve[1]),
};