From 2949b786a7f04ad31c113b622039fb5b72bc8622 Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Sat, 1 Feb 2025 07:14:17 +0200 Subject: Update Slang-RHI and enable any debug layers up-front (#6226) * Update Slang-RHI and enable any debug layers up-front As [1] shows, creating a D3D12 device and then enabling debug layers causes future device creation to fail. That means enabling debug layers is a process-wide decision that should be done at startup, and not just before creating an individual device. Previously, Slang-RHI enabled debug layers as part of device creation. The new Slang-RHI revision doesn't do that anymore, but instead allows the user to enable debug layers earlier, with a separate API. This change calls the mentioned API before creating any device. This closes #6172. * Compile fixes needed after updating slang-rhi --------- Co-authored-by: Yong He --- external/slang-rhi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'external') diff --git a/external/slang-rhi b/external/slang-rhi index 694bf27ce..0cb0a6e77 160000 --- a/external/slang-rhi +++ b/external/slang-rhi @@ -1 +1 @@ -Subproject commit 694bf27ce2f7e1ee2128ee30c8824c8094b69016 +Subproject commit 0cb0a6e777a39e9cf08720b413fe87570490f6ac -- cgit v1.2.3