summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/shader-cache-tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/shader-cache-tests.cpp')
-rw-r--r--tools/gfx-unit-test/shader-cache-tests.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/gfx-unit-test/shader-cache-tests.cpp b/tools/gfx-unit-test/shader-cache-tests.cpp
index 69767b3d2..ea914bd65 100644
--- a/tools/gfx-unit-test/shader-cache-tests.cpp
+++ b/tools/gfx-unit-test/shader-cache-tests.cpp
@@ -1,3 +1,8 @@
+#if 0
+// Duplicated: this is identical to slang-rhi\tests\test-shader-cache.cpp
+// This file uses gfx-specific shader cache functionality (IShaderCache)
+// that has been replaced with a different caching system (IPersistentCache) in slang-rhi.
+
#include "core/slang-basic.h"
#include "core/slang-file-system.h"
#include "core/slang-io.h"
@@ -5,8 +10,8 @@
#include "core/slang-string-util.h"
#include "gfx-test-texture-util.h"
#include "gfx-test-util.h"
-#include "gfx-util/shader-cursor.h"
#include "slang-gfx.h"
+#include "slang-rhi/shader-cursor.h"
#include "unit-test/slang-unit-test.h"
using namespace gfx;
@@ -1128,3 +1133,5 @@ SLANG_UNIT_TEST(shaderCacheGraphicsSplitVulkan)
runTest<ShaderCacheTestGraphicsSplit>(unitTestContext, Slang::RenderApiFlag::Vulkan);
}
} // namespace gfx_test
+
+#endif