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> (cherry picked from commitc3d30d9e65
)
This commit is contained in:
parent
60c8db6cd1
commit
b3a65a1881
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user