mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
nvk: Invalidate the texture cache before MSAA resolves
Fixes: 4bd2ba31fc ("nvk: Use meta for MSAA resolves")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27710>
This commit is contained in:
parent
705e646e38
commit
3b658028dd
1 changed files with 3 additions and 1 deletions
|
|
@ -948,7 +948,9 @@ nvk_CmdEndRendering(VkCommandBuffer commandBuffer)
|
|||
|
||||
if (need_resolve) {
|
||||
struct nv_push *p = nvk_cmd_buffer_push(cmd, 2);
|
||||
P_IMMD(p, NV9097, WAIT_FOR_IDLE, 0);
|
||||
P_IMMD(p, NVA097, INVALIDATE_TEXTURE_DATA_CACHE, {
|
||||
.lines = LINES_ALL,
|
||||
});
|
||||
|
||||
nvk_meta_resolve_rendering(cmd, &vk_render);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue