From 2226ae0bbbf2cbd5ea2da8aaaa04c9c466af56c3 Mon Sep 17 00:00:00 2001 From: winmad Date: Fri, 14 Apr 2023 11:36:19 -0700 Subject: Bugfix: compiler will run forever to eliminate dead code (#2809) * Add a test case that the compile will run forever * Fix. * fix. --------- Co-authored-by: Lifan Wu Co-authored-by: Yong He --- tools/gfx/d3d12/d3d12-device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/gfx/d3d12/d3d12-device.cpp b/tools/gfx/d3d12/d3d12-device.cpp index 9bf54a01b..ad71388c4 100644 --- a/tools/gfx/d3d12/d3d12-device.cpp +++ b/tools/gfx/d3d12/d3d12-device.cpp @@ -407,7 +407,7 @@ Result DeviceImpl::initialize(const Desc& desc) SharedLibrary::Handle d3dModule; #if SLANG_WINDOWS_FAMILY - const char* libName = "d3d11"; + const char* libName = "d3d12"; #else const char* libName = "vkd3d-proton-d3d12"; #endif -- cgit v1.2.3