mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +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> (cherry picked from commit3b658028dd)
This commit is contained in:
parent
6add041513
commit
0f8d77fc04
2 changed files with 4 additions and 2 deletions
|
|
@ -2084,7 +2084,7 @@
|
|||
"description": "nvk: Invalidate the texture cache before MSAA resolves",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "4bd2ba31fc952a5ef2e5e238752b9a3d0f750f9c",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -917,7 +917,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