summaryrefslogtreecommitdiffstats
path: root/tools/gfx-unit-test/link-time-type-layout-cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/link-time-type-layout-cache.cpp')
-rw-r--r--tools/gfx-unit-test/link-time-type-layout-cache.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/gfx-unit-test/link-time-type-layout-cache.cpp b/tools/gfx-unit-test/link-time-type-layout-cache.cpp
index 1e5ff2ddd..b04733fb6 100644
--- a/tools/gfx-unit-test/link-time-type-layout-cache.cpp
+++ b/tools/gfx-unit-test/link-time-type-layout-cache.cpp
@@ -1,9 +1,9 @@
#include "core/slang-blob.h"
#include "gfx-test-util.h"
-#include "slang-gfx.h"
+#include "slang-rhi.h"
#include "unit-test/slang-unit-test.h"
-using namespace gfx;
+using namespace rhi;
namespace gfx_test
{
@@ -95,7 +95,7 @@ static void validateStructSLayout(
}
}
-void linkTimeTypeLayoutCacheImpl(gfx::IDevice* device, UnitTestContext* context)
+void linkTimeTypeLayoutCacheImpl(rhi::IDevice* device, UnitTestContext* context)
{
// main.slang: declares the interface and extern struct S
const char* mainSrc = R"(
@@ -198,7 +198,7 @@ void linkTimeTypeLayoutCacheImpl(gfx::IDevice* device, UnitTestContext* context)
SLANG_UNIT_TEST(linkTimeTypeLayoutCache)
{
- runTestImpl(linkTimeTypeLayoutCacheImpl, unitTestContext, Slang::RenderApiFlag::Vulkan);
+ runTestImpl(linkTimeTypeLayoutCacheImpl, unitTestContext, DeviceType::Vulkan);
}
} // namespace gfx_test