We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9868a63 commit a1d4f7aCopy full SHA for a1d4f7a
src/gpu.cpp
@@ -27,7 +27,11 @@
27
28
// There is known issue that vkDestroyDebugUtilsMessengerEXT crash on exit when vulkan validation layer enabled
29
// upstream fix https://github.com/KhronosGroup/Vulkan-Loader/pull/539
30
+#if NCNN_ENABLE_RENDERDOC_PROFILING
31
#define ENABLE_VALIDATION_LAYER 1
32
+#else
33
+#define ENABLE_VALIDATION_LAYER 0
34
+#endif
35
36
#if NCNN_ENABLE_RENDERDOC_PROFILING
37
0 commit comments