-------------------------------------------------------------------------
| 2482 | void VulkanRenderSystem::markProfileEvent( const String &event ) {} |
| 2483 | //------------------------------------------------------------------------- |
| 2484 | void VulkanRenderSystem::debugAnnotationPush( const String &event ) |
| 2485 | { |
| 2486 | #if OGRE_DEBUG_MODE >= OGRE_DEBUG_MEDIUM |
| 2487 | if( !CmdBeginDebugUtilsLabelEXT ) |
| 2488 | return; // VK_EXT_debug_utils not available |
| 2489 | VkCommandBuffer cmdBuffer = mActiveDevice->mGraphicsQueue.mCurrentCmdBuffer; |
| 2490 | VkDebugUtilsLabelEXT markerInfo; |
| 2491 | makeVkStruct( markerInfo, VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT ); |
| 2492 | markerInfo.pLabelName = event.c_str(); |
| 2493 | CmdBeginDebugUtilsLabelEXT( cmdBuffer, &markerInfo ); |
| 2494 | #endif |
| 2495 | } |
| 2496 | //------------------------------------------------------------------------- |
| 2497 | void VulkanRenderSystem::debugAnnotationPop() |
| 2498 | { |
no test coverage detected