From b3c4d88a647a8899944347497dda4b176a4c1ec2 Mon Sep 17 00:00:00 2001 From: Alexis Hetu Date: Tue, 13 Nov 2018 13:28:20 -0500 Subject: [PATCH] Disabling the debugger wait dialog by default with Vulkan MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit For some reason, the Vulkan Loader prevents any dialog window from popping up, which means that loading the SwiftShader Vulkan DLL in Debug was always failing, unless a debugger was already attached (as is the case when running from within Visual Studio). The debugger wait dialog can still be easily enabled locally by setting the DEBUGGER_WAIT_DIALOG environment variable. Bug b/116336664 Change-Id: I7ce596c753506c806bf6b159685a72d0372f949a Reviewed-on: https://swiftshader-review.googlesource.com/c/22488 Reviewed-by: Nicolas Capens Tested-by: Alexis Hétu --- src/Vulkan/vulkan.vcxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vulkan/vulkan.vcxproj b/src/Vulkan/vulkan.vcxproj index 5258dc696..89062a8c5 100644 --- a/src/Vulkan/vulkan.vcxproj +++ b/src/Vulkan/vulkan.vcxproj @@ -83,7 +83,7 @@ copy "$(OutDir)vk_swiftshader.dll" "$(SolutionDir)out\$(Configuration)_$(Platfor Disabled true $(SolutionDir)include;$(SolutionDir)src;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;DEBUGGER_WAIT_DIALOG;%(PreprocessorDefinitions) + _DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;%(PreprocessorDefinitions) MultiThreadedDebug /permissive- %(AdditionalOptions) 4018;5038;4838 -- 2.11.0