mirror of
https://github.com/Inori/GPCS4.git
synced 2024-06-02 19:38:19 -04:00
43 lines
1,019 B
C++
43 lines
1,019 B
C++
#pragma once
|
|
|
|
#include "VltCommon.h"
|
|
|
|
namespace sce::vlt
|
|
{
|
|
class VltDevice;
|
|
|
|
class VltDebugUtil
|
|
{
|
|
public:
|
|
VltDebugUtil(VltDevice* device);
|
|
~VltDebugUtil();
|
|
|
|
void setObjectName(
|
|
VkDebugUtilsObjectNameInfoEXT* nameInfo);
|
|
|
|
void setObjectTag(
|
|
VkDebugUtilsObjectTagInfoEXT* tagInfo);
|
|
|
|
void cmdBeginDebugUtilsLabel(
|
|
VkCommandBuffer command, VkDebugUtilsLabelEXT* labelInfo);
|
|
|
|
void cmdEndDebugUtilsLabel(
|
|
VkCommandBuffer command);
|
|
|
|
void cmdInsertDebugUtilsLabel(
|
|
VkCommandBuffer command, VkDebugUtilsLabelEXT* labelInfo);
|
|
|
|
private:
|
|
void setupDebugFunctions();
|
|
|
|
private:
|
|
VltDevice* m_device;
|
|
|
|
static PFN_vkSetDebugUtilsObjectNameEXT pfnSetDebugUtilsObjectNameEXT;
|
|
static PFN_vkSetDebugUtilsObjectTagEXT pfnSetDebugUtilsObjectTagEXT;
|
|
|
|
static PFN_vkCmdBeginDebugUtilsLabelEXT pfnCmdBeginDebugUtilsLabelEXT;
|
|
static PFN_vkCmdEndDebugUtilsLabelEXT pfnCmdEndDebugUtilsLabelEXT;
|
|
static PFN_vkCmdInsertDebugUtilsLabelEXT pfnCmdInsertDebugUtilsLabelEXT;
|
|
};
|
|
} // namespace sce::vlt
|