mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 01:00:25 +01:00
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:
parent
8c1519318f
commit
92f2ef5a72
1 changed files with 1 additions and 1 deletions
|
|
@ -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]),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue