mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-02 14:43:59 +08:00
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>
This commit is contained in:
parent
fe53d85273
commit
c3d30d9e65
@ -440,7 +440,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
|
||||
|
Loading…
Reference in New Issue
Block a user