diff options
| author | winmad <winmad.wlf@gmail.com> | 2023-04-14 11:36:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-14 11:36:19 -0700 |
| commit | 2226ae0bbbf2cbd5ea2da8aaaa04c9c466af56c3 (patch) | |
| tree | 7041f86d73eee2357306c2b12c8ef6d7c0996b84 /tools | |
| parent | 168c58389e9155312a8cef88d986a4ceee5a511e (diff) | |
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 <lifanw@nvidia.com>
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/gfx/d3d12/d3d12-device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
