@@ -5549,8 +5549,8 @@ static void VULKAN_InsertDebugLabel(
|
|||||||
VkDebugUtilsLabelEXT labelInfo;
|
VkDebugUtilsLabelEXT labelInfo;
|
||||||
|
|
||||||
if (renderer->supportsDebugUtils) {
|
if (renderer->supportsDebugUtils) {
|
||||||
|
SDL_zero(labelInfo);
|
||||||
labelInfo.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT;
|
labelInfo.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT;
|
||||||
labelInfo.pNext = NULL;
|
|
||||||
labelInfo.pLabelName = text;
|
labelInfo.pLabelName = text;
|
||||||
|
|
||||||
renderer->vkCmdInsertDebugUtilsLabelEXT(
|
renderer->vkCmdInsertDebugUtilsLabelEXT(
|
||||||
@@ -5568,8 +5568,8 @@ static void VULKAN_PushDebugGroup(
|
|||||||
VkDebugUtilsLabelEXT labelInfo;
|
VkDebugUtilsLabelEXT labelInfo;
|
||||||
|
|
||||||
if (renderer->supportsDebugUtils) {
|
if (renderer->supportsDebugUtils) {
|
||||||
|
SDL_zero(labelInfo);
|
||||||
labelInfo.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT;
|
labelInfo.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT;
|
||||||
labelInfo.pNext = NULL;
|
|
||||||
labelInfo.pLabelName = name;
|
labelInfo.pLabelName = name;
|
||||||
|
|
||||||
renderer->vkCmdBeginDebugUtilsLabelEXT(
|
renderer->vkCmdBeginDebugUtilsLabelEXT(
|
||||||
|
|||||||
Reference in New Issue
Block a user