| 1027 | /* ----- Debugging ----- */ |
| 1028 | |
| 1029 | void VKCommandBuffer::PushDebugGroup(const char* name) |
| 1030 | { |
| 1031 | if (HasExtension(VKExt::EXT_debug_marker)) |
| 1032 | { |
| 1033 | VkDebugMarkerMarkerInfoEXT markerInfo; |
| 1034 | { |
| 1035 | markerInfo.sType = VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT; |
| 1036 | markerInfo.pNext = nullptr; |
| 1037 | markerInfo.pMarkerName = name; |
| 1038 | markerInfo.color[0] = 0.0f; |
| 1039 | markerInfo.color[1] = 0.0f; |
| 1040 | markerInfo.color[2] = 0.0f; |
| 1041 | markerInfo.color[3] = 0.0f; |
| 1042 | } |
| 1043 | vkCmdDebugMarkerBeginEXT(commandBuffer_, &markerInfo); |
| 1044 | } |
| 1045 | } |
| 1046 | |
| 1047 | void VKCommandBuffer::PopDebugGroup() |
| 1048 | { |
no test coverage detected