summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2025-05-06 19:45:03 +0800
committerGitHub <noreply@github.com>2025-05-06 19:45:03 +0800
commit91425ccb6ff0a416b67ef21eb3ecebb49ba3e748 (patch)
treed4823b8bb2c68faaef38e48693432603eaa59068 /tools
parent480369a302b15749aafc82feb001fa23db8edbd6 (diff)
Update C++ standard to C++20 (#6980)
* Correct incorrect enum usage on metal * Update C++ standard to C++20 Closes https://github.com/shader-slang/slang/issues/6945 * use bit_cast
Diffstat (limited to 'tools')
-rw-r--r--tools/slang-test/slang-test-main.cpp2
-rw-r--r--tools/test-server/test-server-main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/slang-test/slang-test-main.cpp b/tools/slang-test/slang-test-main.cpp
index c0697b4a4..1fb70ed03 100644
--- a/tools/slang-test/slang-test-main.cpp
+++ b/tools/slang-test/slang-test-main.cpp
@@ -58,7 +58,7 @@ extern "C"
extern "C"
{
- __declspec(dllexport) extern const char* D3D12SDKPath = u8".\\D3D12\\";
+ __declspec(dllexport) extern const char* D3D12SDKPath = ".\\D3D12\\";
}
#endif
diff --git a/tools/test-server/test-server-main.cpp b/tools/test-server/test-server-main.cpp
index 63535ec92..3faa6352f 100644
--- a/tools/test-server/test-server-main.cpp
+++ b/tools/test-server/test-server-main.cpp
@@ -28,7 +28,7 @@ extern "C"
extern "C"
{
- __declspec(dllexport) extern const char* D3D12SDKPath = u8".\\D3D12\\";
+ __declspec(dllexport) extern const char* D3D12SDKPath = ".\\D3D12\\";
}
#endif