mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
lavapipe: fix mipmapped resolves.
I updated CTS and found EQP-VK.renderpass.suballocation.multisample_resolve.b8g8r8a8_unorm.samples_4_resolve_level_* was failing. Fixes:b38879f8c5("vallium: initial import of the vulkan frontend") Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10400> (cherry picked from commit32a2978949)
This commit is contained in:
parent
e45f8434e3
commit
38b948b5dc
2 changed files with 4 additions and 1 deletions
|
|
@ -373,7 +373,7 @@
|
|||
"description": "lavapipe: fix mipmapped resolves.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "b38879f8c5f57b7f1802e433e33181bdf5e72aef"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1499,6 +1499,9 @@ static void render_pass_resolve(struct rendering_state *state)
|
|||
|
||||
info.dst.box = info.src.box;
|
||||
|
||||
info.src.level = src_imgv->subresourceRange.baseMipLevel;
|
||||
info.dst.level = dst_imgv->subresourceRange.baseMipLevel;
|
||||
|
||||
state->pctx->blit(state->pctx, &info);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue