anv: Enable CS stall for ACCELERATION_STRUCTURE_COPY stage

Cc: mesa-stable
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36952>
(cherry picked from commit 4473e21e2f)
This commit is contained in:
Sagar Ghuge 2025-08-22 22:07:12 -07:00 committed by Eric Engestrom
parent b7b7f74e4f
commit 4f1f8afe13
2 changed files with 2 additions and 1 deletions

View file

@ -4744,7 +4744,7 @@
"description": "anv: Enable CS stall for ACCELERATION_STRUCTURE_COPY stage",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -4588,6 +4588,7 @@ cmd_buffer_accumulate_barrier_bits(struct anv_cmd_buffer *cmd_buffer,
VK_PIPELINE_STAGE_2_BOTTOM_OF_PIPE_BIT |
VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT |
VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_BUILD_BIT_KHR |
VK_PIPELINE_STAGE_2_ACCELERATION_STRUCTURE_COPY_BIT_KHR |
VK_PIPELINE_STAGE_2_RAY_TRACING_SHADER_BIT_KHR |
VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT;
if (anv_cmd_buffer_is_compute_queue(cmd_buffer)) {