vulkan: fix missing begin debug marker for HPLOC

This fixes capturing with RGP.

Fixes: 091b43b970 ("radv: Use HPLOC for TLAS builds")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39427>
(cherry picked from commit 873008f274)
This commit is contained in:
Samuel Pitoiset 2026-01-21 13:17:09 +01:00 committed by Eric Engestrom
parent a09bbbf3e1
commit f585d2fadc
2 changed files with 4 additions and 1 deletions

View file

@ -3824,7 +3824,7 @@
"description": "vulkan: fix missing begin debug marker for HPLOC",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "091b43b970f3cc996f27314cccc64cee0aa9155a",
"notes": null

View file

@ -482,6 +482,9 @@ vk_accel_struct_cmd_begin_debug_marker(VkCommandBuffer commandBuffer,
case VK_ACCELERATION_STRUCTURE_BUILD_STEP_PLOC_BUILD_INTERNAL:
snprintf(name, sizeof(name), "ploc_build_internal");
break;
case VK_ACCELERATION_STRUCTURE_BUILD_STEP_HPLOC_BUILD_INTERNAL:
snprintf(name, sizeof(name), "hploc_build_internal");
break;
case VK_ACCELERATION_STRUCTURE_BUILD_STEP_ENCODE:
case VK_ACCELERATION_STRUCTURE_BUILD_STEP_UPDATE: {
const char *type = marker->step == VK_ACCELERATION_STRUCTURE_BUILD_STEP_ENCODE ? "encode" : "update";