anv: mark descriptors & pipeline dirty after blorp compute

All of those are used by blorp, we need to reemit it when doing the
next compute dispatch.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 37fca614b8 ("anv/blorp: Split blorp_exec into a render and compute")
Fixes: 6823ffe70e ("anv: try to keep the pipeline in GPGPU mode when buffer transfer ops")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10972
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28617>
(cherry picked from commit c3d30d9e65)
This commit is contained in:
Lionel Landwerlin 2024-04-07 11:32:44 +03:00 committed by Eric Engestrom
parent 60c8db6cd1
commit b3a65a1881
2 changed files with 3 additions and 1 deletions

View File

@ -1014,7 +1014,7 @@
"description": "anv: mark descriptors & pipeline dirty after blorp compute",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "37fca614b8642b633b94b829f7ca8fd4872a9f76",
"notes": null

View File

@ -417,7 +417,9 @@ blorp_exec_on_compute(struct blorp_batch *batch,
blorp_exec(batch, params);
cmd_buffer->state.descriptors_dirty |= VK_SHADER_STAGE_COMPUTE_BIT;
cmd_buffer->state.push_constants_dirty |= VK_SHADER_STAGE_COMPUTE_BIT;
cmd_buffer->state.compute.pipeline_dirty = true;
}
static void