gsk: Add a vulkan debug category

This commit is contained in:
Benjamin Otte 2016-11-30 02:07:57 +01:00
parent 325efe7078
commit 5bea4ff45e
2 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,8 @@ static const GDebugKey gsk_debug_keys[] = {
{ "opengl", GSK_DEBUG_OPENGL },
{ "shaders", GSK_DEBUG_SHADERS },
{ "transforms", GSK_DEBUG_TRANSFORMS },
{ "surface", GSK_DEBUG_SURFACE }
{ "surface", GSK_DEBUG_SURFACE },
{ "vulkan", GSK_DEBUG_VULKAN }
};
#endif

View File

@ -12,7 +12,8 @@ typedef enum {
GSK_DEBUG_OPENGL = 1 << 3,
GSK_DEBUG_SHADERS = 1 << 4,
GSK_DEBUG_TRANSFORMS = 1 << 5,
GSK_DEBUG_SURFACE = 1 << 6
GSK_DEBUG_SURFACE = 1 << 6,
GSK_DEBUG_VULKAN = 1 << 7
} GskDebugFlags;
typedef enum {