The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

a/vk: Name all fence objects

+10
+3
src/xrt/auxiliary/vk/vk_cmd.c
··· 117 117 goto out; 118 118 } 119 119 120 + // Shortlived, but name for debugging. 121 + VK_NAME_OBJECT(vk, FENCE, fence, "VK Submit And Wait"); 122 + 120 123 // Do the submit. 121 124 VkSubmitInfo submitInfo = { 122 125 .sType = VK_STRUCTURE_TYPE_SUBMIT_INFO,
+7
src/xrt/auxiliary/vk/vk_sync_objects.c
··· 134 134 return ret; 135 135 } 136 136 137 + // Won't be returned, but name for debbuging. 138 + VK_NAME_OBJECT(vk, FENCE, fence, "VK Create Submit Sync"); 139 + 137 140 138 141 /* 139 142 * Submit fence. ··· 348 351 VK_ERROR(vk, "vkCreateFence: %s", vk_result_string(ret)); 349 352 return ret; 350 353 } 354 + 355 + // Should be overwritten by caller, but name here for debugging. 356 + VK_NAME_OBJECT(vk, FENCE, fence, "VK Import"); 357 + 351 358 352 359 #ifdef XRT_GRAPHICS_SYNC_HANDLE_IS_FD 353 360 // This is what is used on Linux Mesa when importing fences from OpenGL.