IF (UNIX)
- ADD_COMPILE_OPTIONS(-lm)
- IF (BUILD_SHARED_LIBS)
- #force PIC for all subproject, even static libs
- ADD_COMPILE_OPTIONS(-fPIC)
- ENDIF()
+ ADD_COMPILE_OPTIONS(-lm)
+ IF (BUILD_SHARED_LIBS)
+ #force PIC for all subproject, even static libs
+ ADD_COMPILE_OPTIONS(-fPIC)
+ ENDIF()
ENDIF()
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
- ADD_DEFINITIONS (-DDEBUG)
- OPTION(ENABLE_VALIDATION "enable vulkan validation layer" ON)
- OPTION(VKVG_USE_MESA_OVERLAY "enable VK_LAYER_MESA_overlay if present." OFF)
- IF (VKVG_USE_MESA_OVERLAY)
- ADD_DEFINITIONS (-DVKVG_USE_MESA_OVERLAY)
- ENDIF ()
- OPTION(ENABLE_DBG_UTILS "enable VK_EXT_debug_utils extension" ON)
- OPTION(VKVG_WIRED_FILL "enable wired polygon draw to check vertices and primitives" OFF)
- IF (UNIX)
- ADD_COMPILE_OPTIONS(-Wall -Wno-extra -Wno-unknown-pragmas -Wno-missing-braces -Wno-unused-variable -Wno-switch -Wno-unused-value)
- IF (CMAKE_C_COMPILER_ID STREQUAL "GNU")
- ADD_COMPILE_OPTIONS(-g3) # include macro info in debug
- ENDIF()
- ELSEIF(MSVC)
- ADD_COMPILE_OPTIONS(/TC /W4 /wd4201 /wd4204 /wd4221 /wd4100) # c11 compliant
- ENDIF()
+ ADD_DEFINITIONS (-DDEBUG)
+ OPTION(ENABLE_VALIDATION "enable vulkan validation layer" ON)
+ OPTION(VKVG_USE_MESA_OVERLAY "enable VK_LAYER_MESA_overlay if present." OFF)
+ IF (VKVG_USE_MESA_OVERLAY)
+ ADD_DEFINITIONS (-DVKVG_USE_MESA_OVERLAY)
+ ENDIF ()
+ OPTION(ENABLE_DBG_UTILS "enable VK_EXT_debug_utils extension" ON)
+ OPTION(VKVG_WIRED_FILL "enable wired polygon draw to check vertices and primitives" OFF)
+ IF (UNIX)
+ ADD_COMPILE_OPTIONS(-Wall -Wno-extra -Wno-unknown-pragmas -Wno-missing-braces -Wno-unused-variable -Wno-switch -Wno-unused-value)
+ IF (CMAKE_C_COMPILER_ID STREQUAL "GNU")
+ ADD_COMPILE_OPTIONS(-g3) # include macro info in debug
+ ENDIF()
+ ELSEIF(MSVC)
+ ADD_COMPILE_OPTIONS(/TC /W4 /wd4201 /wd4204 /wd4221 /wd4100) # c11 compliant
+ ENDIF()
ELSE()
- UNSET(ENABLE_VALIDATION CACHE)
- UNSET(ENABLE_DBG_UTILS CACHE)
- UNSET(VKVG_WIRED_FILL CACHE)
- UNSET(VKVG_USE_MESA_OVERLAY CACHE)
- IF (ANDROID)
- ADD_COMPILE_OPTIONS(-O3 -w -pedantic)
- ELSEIF (UNIX)
- #ADD_COMPILE_OPTIONS(-O3 -w -pedantic -fvisibility=hidden -fno-rtti)
- #ADD_COMPILE_OPTIONS(-flto -pthread -lpthread -Wl,--no-as-needed)
- ELSEIF(MSVC)
- ADD_COMPILE_OPTIONS(/O2 /TC /W0 /Od)
- ENDIF()
+ UNSET(ENABLE_VALIDATION CACHE)
+ UNSET(ENABLE_DBG_UTILS CACHE)
+ UNSET(VKVG_WIRED_FILL CACHE)
+ UNSET(VKVG_USE_MESA_OVERLAY CACHE)
+ IF (ANDROID)
+ ADD_COMPILE_OPTIONS(-O3 -w -pedantic)
+ ELSEIF (UNIX)
+ #ADD_COMPILE_OPTIONS(-O3 -w -pedantic -fvisibility=hidden -fno-rtti)
+ #ADD_COMPILE_OPTIONS(-flto -pthread -lpthread -Wl,--no-as-needed)
+ #ADD_COMPILE_OPTIONS(-fno-rtti)
+ #ADD_COMPILE_OPTIONS(-w -flto)
+ #ADD_COMPILE_OPTIONS(-fvisibility=hidden)
+ ELSEIF(MSVC)
+ ADD_COMPILE_OPTIONS(/O2 /TC /W0 /Od)
+ ENDIF()
ENDIF()
OPTION(ENABLE_PROFILING "compile with the -pg options..." OFF)
OPTION(VKVG_PREMULT_ALPHA "use premultiplied alpha for internal rendering" ON)
IF (VKVG_PREMULT_ALPHA)
- ADD_DEFINITIONS (-DVKVG_PREMULT_ALPHA)
- SET(GLSLDEFS ${GLSLDEFS} -DVKVG_PREMULT_ALPHA)
+ ADD_DEFINITIONS (-DVKVG_PREMULT_ALPHA)
+ SET(GLSLDEFS ${GLSLDEFS} -DVKVG_PREMULT_ALPHA)
ENDIF ()
OPTION(VKVG_DBG_STATS "record contexts statistics in the device" OFF)
#use c++ vulkan memory allocator library (https://gpuopen.com/vulkan-memory-allocator/)
IF (VKH_USE_VMA)
- ADD_DEFINITIONS (-DVKH_USE_VMA)
+ ADD_DEFINITIONS (-DVKH_USE_VMA)
ENDIF()
IF (ENABLE_VALIDATION)
- ADD_DEFINITIONS (-DVKVG_USE_VALIDATION)
- OPTION(ENABLE_RENDERDOC "enable renderdoc" OFF)
- IF (ENABLE_RENDERDOC)
- ADD_DEFINITIONS (-DVKVG_USE_RENDERDOC)
- ENDIF ()
+ ADD_DEFINITIONS (-DVKVG_USE_VALIDATION)
+ OPTION(ENABLE_RENDERDOC "enable renderdoc" OFF)
+ IF (ENABLE_RENDERDOC)
+ ADD_DEFINITIONS (-DVKVG_USE_RENDERDOC)
+ ENDIF ()
ENDIF ()
IF (VKVG_WIRED_FILL)
- ADD_DEFINITIONS (-DVKVG_WIRED_DEBUG)
+ ADD_DEFINITIONS (-DVKVG_WIRED_DEBUG)
ENDIF ()
FIND_PACKAGE(Vulkan REQUIRED)
# todo if cmake vers >= 3.23: make dependent option on Vulkan_VERSION >= 1_2:
OPTION(VKVG_ENABLE_VK_SCALAR_BLOCK_LAYOUT "Enable scalar block layout support." ON)
IF (VKVG_ENABLE_VK_SCALAR_BLOCK_LAYOUT)
- ADD_DEFINITIONS (-DVKVG_ENABLE_VK_SCALAR_BLOCK_LAYOUT)
- SET(GLSLDEFS ${GLSLDEFS} -DVKVG_ENABLE_VK_SCALAR_BLOCK_LAYOUT)
+ ADD_DEFINITIONS (-DVKVG_ENABLE_VK_SCALAR_BLOCK_LAYOUT)
+ SET(GLSLDEFS ${GLSLDEFS} -DVKVG_ENABLE_VK_SCALAR_BLOCK_LAYOUT)
ENDIF ()
OPTION(VKVG_ENABLE_VK_TIMELINE_SEMAPHORE "Enable vulkan TimelineSemaphore support." OFF)
IF (VKVG_ENABLE_VK_TIMELINE_SEMAPHORE)
- ADD_DEFINITIONS (-DVKVG_ENABLE_VK_TIMELINE_SEMAPHORE)
+ ADD_DEFINITIONS (-DVKVG_ENABLE_VK_TIMELINE_SEMAPHORE)
ENDIF ()
IF (ENABLE_DBG_UTILS)
- ADD_DEFINITIONS (-DVKVG_DBG_UTILS)
+ ADD_DEFINITIONS (-DVKVG_DBG_UTILS)
ENDIF ()
IF (VKVG_USE_FREETYPE)
- ADD_DEFINITIONS (-DVKVG_USE_FREETYPE)
+ ADD_DEFINITIONS (-DVKVG_USE_FREETYPE)
ENDIF ()
IF (VKVG_USE_FONTCONFIG)
- ADD_DEFINITIONS (-DVKVG_USE_FONTCONFIG)
+ ADD_DEFINITIONS (-DVKVG_USE_FONTCONFIG)
ENDIF ()
IF (VKVG_USE_HARFBUZZ)
- ADD_DEFINITIONS (-DVKVG_USE_HARFBUZZ)
+ ADD_DEFINITIONS (-DVKVG_USE_HARFBUZZ)
ENDIF ()
IF (VKVG_LCD_FONT_FILTER)
- ADD_DEFINITIONS (-DVKVG_LCD_FONT_FILTER)
+ ADD_DEFINITIONS (-DVKVG_LCD_FONT_FILTER)
ENDIF ()
# Find glslc shader compiler.
# On Android, the NDK includes the binary, so no external dependency.
IF(ANDROID)
- FILE(GLOB glslc-folders ${ANDROID_NDK}/shader-tools/*)
+ FILE(GLOB glslc-folders ${ANDROID_NDK}/shader-tools/*)
ELSE()
- FILE(GLOB glslc-folders ${VULKAN_SDK}/bin)
+ FILE(GLOB glslc-folders ${VULKAN_SDK}/bin)
ENDIF()
FIND_PROGRAM(GLSLC glslc HINTS ${glslc-folders})
FIND_PROGRAM(XXD xxd)
IF(GLSLC AND XXD)
- SET(SHADERS_H "${CMAKE_CURRENT_SOURCE_DIR}/src/shaders.h")
- SET(SHADER_DIR "shaders")
- SET(SHADER_FILES ${SHADER_DIR}/*.frag ${SHADER_DIR}/*.vert ${SHADER_DIR}/*.geom ${SHADER_DIR}/*.comp)
- FILE(GLOB_RECURSE SHADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${SHADER_FILES})
- FOREACH(SHADER ${SHADERS})
- SET(shader-input ${CMAKE_CURRENT_SOURCE_DIR}/${SHADER})
- SET(shader-output ${CMAKE_CURRENT_BINARY_DIR}/${SHADER}.spv)
- ADD_CUSTOM_COMMAND (
- OUTPUT ${shader-output}
- COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_CURRENT_BINARY_DIR}/${SHADER_DIR}"
- COMMAND ${GLSLC} ${GLSLDEFS} ${shader-input} -o ${shader-output}# --target-env=vulkan1.2
- COMMENT "Compiling ${shader-input}"
- DEPENDS ${SHADER}
- VERBATIM
- )
- SET(SHADER_OUTPUTS ${SHADER_OUTPUTS} ${shader-output})
- ENDFOREACH()
+ SET(SHADERS_H "${CMAKE_CURRENT_SOURCE_DIR}/src/shaders.h")
+ SET(SHADER_DIR "shaders")
+ SET(SHADER_FILES ${SHADER_DIR}/*.frag ${SHADER_DIR}/*.vert ${SHADER_DIR}/*.geom ${SHADER_DIR}/*.comp)
+ FILE(GLOB_RECURSE SHADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${SHADER_FILES})
+ FOREACH(SHADER ${SHADERS})
+ SET(shader-input ${CMAKE_CURRENT_SOURCE_DIR}/${SHADER})
+ SET(shader-output ${CMAKE_CURRENT_BINARY_DIR}/${SHADER}.spv)
+ ADD_CUSTOM_COMMAND (
+ OUTPUT ${shader-output}
+ COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_CURRENT_BINARY_DIR}/${SHADER_DIR}"
+ COMMAND ${GLSLC} ${GLSLDEFS} ${shader-input} -o ${shader-output}# --target-env=vulkan1.2
+ COMMENT "Compiling ${shader-input}"
+ DEPENDS ${SHADER}
+ VERBATIM
+ )
+ SET(SHADER_OUTPUTS ${SHADER_OUTPUTS} ${shader-output})
+ ENDFOREACH()
ADD_CUSTOM_TARGET(BuildShaders ALL DEPENDS ${SHADER_OUTPUTS})
--- /dev/null
+# CMAKE_USER_MAKE_RULES_OVERRIDE should point to this file
+SET (CMAKE_C_FLAGS_INIT "-Wall -std=c11 -fdiagnostics-color=always -fdiagnostics-show-hotness -Rpass-analysis=loop-vectorize -fsave-optimization-record -Weverything")
+SET (CMAKE_C_FLAGS_DEBUG_INIT "-g -fprofile-instr-generate -fcoverage-mapping")
+SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
+SET (CMAKE_C_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
+SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
+
+SET (CMAKE_CXX_FLAGS_INIT "-Wall -std=c++17")
+SET (CMAKE_CXX_FLAGS_DEBUG_INIT "-g -fprofile-instr-generate -fcoverage-mapping")
+SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
+SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
+SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
--- /dev/null
+---
+Language: Cpp
+# BasedOnStyle: LLVM
+AccessModifierOffset: -2
+AlignAfterOpenBracket: Align
+AlignArrayOfStructures: None
+AlignConsecutiveMacros: None
+AlignConsecutiveAssignments: None
+AlignConsecutiveBitFields: None
+AlignConsecutiveDeclarations: None
+AlignEscapedNewlines: Right
+AlignOperands: Align
+AlignTrailingComments: true
+AllowAllArgumentsOnNextLine: true
+AllowAllParametersOfDeclarationOnNextLine: true
+AllowShortEnumsOnASingleLine: true
+AllowShortBlocksOnASingleLine: Never
+AllowShortCaseLabelsOnASingleLine: false
+AllowShortFunctionsOnASingleLine: All
+AllowShortLambdasOnASingleLine: All
+AllowShortIfStatementsOnASingleLine: Never
+AllowShortLoopsOnASingleLine: false
+AlwaysBreakAfterDefinitionReturnType: None
+AlwaysBreakAfterReturnType: None
+AlwaysBreakBeforeMultilineStrings: false
+AlwaysBreakTemplateDeclarations: MultiLine
+AttributeMacros:
+ - __capability
+BinPackArguments: true
+BinPackParameters: true
+BraceWrapping:
+ AfterCaseLabel: false
+ AfterClass: false
+ AfterControlStatement: Never
+ AfterEnum: false
+ AfterFunction: false
+ AfterNamespace: false
+ AfterObjCDeclaration: false
+ AfterStruct: false
+ AfterUnion: false
+ AfterExternBlock: false
+ BeforeCatch: false
+ BeforeElse: false
+ BeforeLambdaBody: false
+ BeforeWhile: false
+ IndentBraces: false
+ SplitEmptyFunction: true
+ SplitEmptyRecord: true
+ SplitEmptyNamespace: true
+BreakBeforeBinaryOperators: None
+BreakBeforeConceptDeclarations: true
+BreakBeforeBraces: Attach
+BreakBeforeInheritanceComma: false
+BreakInheritanceList: BeforeColon
+BreakBeforeTernaryOperators: true
+BreakConstructorInitializersBeforeComma: false
+BreakConstructorInitializers: BeforeColon
+BreakAfterJavaFieldAnnotations: false
+BreakStringLiterals: true
+ColumnLimit: 120
+CommentPragmas: '^ IWYU pragma:'
+QualifierAlignment: Leave
+CompactNamespaces: false
+ConstructorInitializerIndentWidth: 4
+ContinuationIndentWidth: 4
+Cpp11BracedListStyle: true
+DeriveLineEnding: true
+DerivePointerAlignment: false
+DisableFormat: false
+EmptyLineAfterAccessModifier: Never
+EmptyLineBeforeAccessModifier: LogicalBlock
+ExperimentalAutoDetectBinPacking: false
+PackConstructorInitializers: BinPack
+BasedOnStyle: ''
+ConstructorInitializerAllOnOneLineOrOnePerLine: false
+AllowAllConstructorInitializersOnNextLine: true
+FixNamespaceComments: true
+ForEachMacros:
+ - foreach
+ - Q_FOREACH
+ - BOOST_FOREACH
+IfMacros:
+ - KJ_IF_MAYBE
+IncludeBlocks: Preserve
+IncludeCategories:
+ - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
+ Priority: 2
+ SortPriority: 0
+ CaseSensitive: false
+ - Regex: '^(<|"(gtest|gmock|isl|json)/)'
+ Priority: 3
+ SortPriority: 0
+ CaseSensitive: false
+ - Regex: '.*'
+ Priority: 1
+ SortPriority: 0
+ CaseSensitive: false
+IncludeIsMainRegex: '(Test)?$'
+IncludeIsMainSourceRegex: ''
+IndentAccessModifiers: false
+IndentCaseLabels: false
+IndentCaseBlocks: false
+IndentGotoLabels: true
+IndentPPDirectives: None
+IndentExternBlock: AfterExternBlock
+IndentRequires: false
+IndentWidth: 2
+IndentWrappedFunctionNames: false
+InsertTrailingCommas: None
+JavaScriptQuotes: Leave
+JavaScriptWrapImports: true
+KeepEmptyLinesAtTheStartOfBlocks: true
+LambdaBodyIndentation: Signature
+MacroBlockBegin: ''
+MacroBlockEnd: ''
+MaxEmptyLinesToKeep: 1
+NamespaceIndentation: None
+ObjCBinPackProtocolList: Auto
+ObjCBlockIndentWidth: 2
+ObjCBreakBeforeNestedBlockParam: true
+ObjCSpaceAfterProperty: false
+ObjCSpaceBeforeProtocolList: true
+PenaltyBreakAssignment: 2
+PenaltyBreakBeforeFirstCallParameter: 19
+PenaltyBreakComment: 300
+PenaltyBreakFirstLessLess: 120
+PenaltyBreakOpenParenthesis: 0
+PenaltyBreakString: 1000
+PenaltyBreakTemplateDeclaration: 10
+PenaltyExcessCharacter: 1000000
+PenaltyReturnTypeOnItsOwnLine: 60
+PenaltyIndentedWhitespace: 0
+PointerAlignment: Right
+PPIndentWidth: -1
+ReferenceAlignment: Pointer
+ReflowComments: true
+RemoveBracesLLVM: false
+SeparateDefinitionBlocks: Leave
+ShortNamespaceLines: 1
+SortIncludes: CaseSensitive
+SortJavaStaticImport: Before
+SortUsingDeclarations: true
+SpaceAfterCStyleCast: false
+SpaceAfterLogicalNot: false
+SpaceAfterTemplateKeyword: true
+SpaceBeforeAssignmentOperators: true
+SpaceBeforeCaseColon: false
+SpaceBeforeCpp11BracedList: false
+SpaceBeforeCtorInitializerColon: true
+SpaceBeforeInheritanceColon: true
+SpaceBeforeParens: ControlStatements
+SpaceBeforeParensOptions:
+ AfterControlStatements: true
+ AfterForeachMacros: true
+ AfterFunctionDefinitionName: false
+ AfterFunctionDeclarationName: false
+ AfterIfMacros: true
+ AfterOverloadedOperator: false
+ BeforeNonEmptyParentheses: false
+SpaceAroundPointerQualifiers: Default
+SpaceBeforeRangeBasedForLoopColon: true
+SpaceInEmptyBlock: false
+SpaceInEmptyParentheses: false
+SpacesBeforeTrailingComments: 1
+SpacesInAngles: Never
+SpacesInConditionalStatement: false
+SpacesInContainerLiterals: true
+SpacesInCStyleCastParentheses: false
+SpacesInLineCommentPrefix:
+ Minimum: 1
+ Maximum: -1
+SpacesInParentheses: false
+SpacesInSquareBrackets: false
+SpaceBeforeSquareBrackets: false
+BitFieldColonSpacing: Both
+Standard: Latest
+StatementAttributeLikeMacros:
+ - Q_EMIT
+StatementMacros:
+ - Q_UNUSED
+ - QT_REQUIRE_VERSION
+TabWidth: 8
+UseCRLF: false
+UseTab: Never
+WhitespaceSensitiveMacros:
+ - STRINGIZE
+ - PP_STRINGIZE
+ - BOOST_PP_STRINGIZE
+ - NS_SWIFT_NAME
+ - CF_SWIFT_NAME
+...
+
{.color.float32 = {0, 0, 0, 0}}, {.depthStencil = {1.0f, 0}}, {.color.float32 = {0, 0, 0, 0}}};
void _init_ctx(VkvgContext ctx) {
- ctx->lineWidth = 1;
- ctx->miterLimit = 10;
+ ctx->lineWidth = 1.f;
+ ctx->miterLimit = 10.f;
ctx->curOperator = VKVG_OPERATOR_OVER;
ctx->curFillRule = VKVG_FILL_RULE_NON_ZERO;
ctx->bounds = (VkRect2D){{0, 0}, {ctx->pSurf->width, ctx->pSurf->height}};
LOCK_SURFACE(ctx->pSurf)
- if (ctx->pSurf->newSurf)
+ if (ctx->pSurf->newSurf) {
ctx->renderPassBeginInfo.renderPass = ctx->dev->renderPass_ClearAll;
- else
+ ctx->pSurf->newSurf = false;
+ } else {
ctx->renderPassBeginInfo.renderPass = ctx->dev->renderPass_ClearStencil;
- ctx->pSurf->newSurf = false;
+ }
UNLOCK_SURFACE(ctx->pSurf);
ctx->curColor = 0xff000000; // opaque black
ctx->cmdStarted = false;
ctx->curClipState = vkvg_clip_state_none;
+
+
ctx->vertCount = ctx->indCount = 0;
#ifdef VKVG_ENABLE_VK_TIMELINE_SEMAPHORE
ctx->timelineStep = 0;
if (vkh_phyinfo_try_get_extension_properties(pi, #ext, NULL)) \
enabledExts[enabledExtsCount++] = #ext; \
}
+
+#define _CHECK_INST_EXT(ext) \
+if (vkh_instance_extension_supported(#ext)) { \
+ if (pExtensions) \
+ pExtensions[*pExtCount] = #ext; \
+ (*pExtCount)++; \
+}
+
+#define _CHECK_DEV_EXT(ext) \
+{ \
+ if (_get_dev_extension_is_supported(pExtensionProperties, extensionCount, #ext)) { \
+ if (pExtensions) \
+ pExtensions[*pExtCount] = #ext; \
+ (*pExtCount)++; \
+ } \
+}
+
void vkvg_device_set_context_cache_size(VkvgDevice dev, uint32_t maxCount) {
if (maxCount == dev->cachedContextMaxCount)
return;
dev->status = VKVG_STATUS_SUCCESS;
}
-#define _CHECK_INST_EXT(ext) \
- if (vkh_instance_extension_supported(#ext)) { \
- if (pExtensions) \
- pExtensions[*pExtCount] = #ext; \
- (*pExtCount)++; \
- }
+
void vkvg_get_required_instance_extensions(const char **pExtensions, uint32_t *pExtCount) {
*pExtCount = 0;
}
return false;
}
-#define _CHECK_DEV_EXT(ext) \
- { \
- if (_get_dev_extension_is_supported(pExtensionProperties, extensionCount, #ext)) { \
- if (pExtensions) \
- pExtensions[*pExtCount] = #ext; \
- (*pExtCount)++; \
- } \
- }
+
vkvg_status_t vkvg_get_required_device_extensions(VkPhysicalDevice phy, const char **pExtensions, uint32_t *pExtCount) {
VkExtensionProperties *pExtensionProperties;
#if defined(DEBUG) && defined(VKVG_DBG_UTILS)
vkh_app_enable_debug_messenger(e->app,
VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT
- //| VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT
- //| VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT
+ | VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT
+ | VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT
,
VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT |
VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT
- //| VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT
- //| VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT
+ | VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT
+ | VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT
,
NULL);
#endif
-Subproject commit d17d759e06d5a96aeb3d5e06474b6ec7ecbb0b93
+Subproject commit 06fa5e993cb62fb40f5f093919db116dc0fa8dc9