From 9c11a87f8f811a9a110d73a24ab93443ea347506 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 1 Sep 2023 01:25:31 -0700 Subject: Fix GLSL code gen around RayQuery and HitObject types. (#3173) * Update slang-llvm. * Fix. * fix. * Fix unit tests for multi-thread execution. * Fix tests. * fixes. * update tests. * Add gfx-smoke to linux expected failure list. * Try fix test. --------- Co-authored-by: Yong He --- tools/slang-unit-test/unit-test-persistent-cache.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/slang-unit-test/unit-test-persistent-cache.cpp') diff --git a/tools/slang-unit-test/unit-test-persistent-cache.cpp b/tools/slang-unit-test/unit-test-persistent-cache.cpp index d2d8aeb25..cb7ebcab2 100644 --- a/tools/slang-unit-test/unit-test-persistent-cache.cpp +++ b/tools/slang-unit-test/unit-test-persistent-cache.cpp @@ -5,6 +5,7 @@ #include "../../source/core/slang-io.h" #include "../../source/core/slang-file-system.h" #include "../../source/core/slang-random-generator.h" +#include "../../source/core/slang-process.h" #include #include @@ -86,7 +87,7 @@ struct PersistentCacheTest PersistentCacheTest(Count maxEntryCount = 0) { osFileSystem = OSFileSystem::getMutableSingleton(); - cacheDirectory = Path::simplify(Path::getParentDirectory(Path::getExecutablePath()) + "/persistent-cache-test"); + cacheDirectory = Path::simplify(Path::getParentDirectory(Path::getExecutablePath()) + "/persistent-cache-test" + String(Process::getId())); removeCacheFiles(); -- cgit v1.2.3