From 9db029c3ddc448d3163d4f70f292382027d80059 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 31 Oct 2021 01:03:43 +0100 Subject: [PATCH] remove validation layer --- taichi/backends/vulkan/embedded_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taichi/backends/vulkan/embedded_device.cpp b/taichi/backends/vulkan/embedded_device.cpp index 903177ff4e2de0..7ad4bf296f463c 100644 --- a/taichi/backends/vulkan/embedded_device.cpp +++ b/taichi/backends/vulkan/embedded_device.cpp @@ -18,7 +18,7 @@ namespace vulkan { namespace { // FIXME: NDEBUG is broken, so just manually enable this if necessary. -constexpr bool kEnableValidationLayers = true; +constexpr bool kEnableValidationLayers = false; const std::vector kValidationLayers = { "VK_LAYER_KHRONOS_validation",