From a653b10ed2165133e00e26419d51ade5a8cc4313 Mon Sep 17 00:00:00 2001 From: xuechen2 Date: Mon, 23 Oct 2023 16:49:58 +0800 Subject: [PATCH] Upgrade llpc unitest default gfxip to 10.1 --- llpc/unittests/context/testOptLevel.cpp | 2 +- llpc/unittests/context/testShaderCache.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llpc/unittests/context/testOptLevel.cpp b/llpc/unittests/context/testOptLevel.cpp index 3d933332cb..fae1433c1c 100644 --- a/llpc/unittests/context/testOptLevel.cpp +++ b/llpc/unittests/context/testOptLevel.cpp @@ -39,7 +39,7 @@ using namespace llvm::CodeGenOpt; namespace Llpc { namespace { -constexpr GfxIpVersion GfxIp = {9, 0, 0}; +constexpr GfxIpVersion GfxIp = {10, 1, 0}; // cppcheck-suppress syntaxError TEST(LlpcContextTests, MatchPipelineOptLevel) { diff --git a/llpc/unittests/context/testShaderCache.cpp b/llpc/unittests/context/testShaderCache.cpp index 7baad86fba..2a313c872e 100644 --- a/llpc/unittests/context/testShaderCache.cpp +++ b/llpc/unittests/context/testShaderCache.cpp @@ -46,7 +46,7 @@ using ::testing::ElementsAreArray; namespace Llpc { namespace { -constexpr Vkgc::GfxIpVersion GfxIp = {9, 0, 0}; +constexpr Vkgc::GfxIpVersion GfxIp = {10, 1, 0}; // Test class for tests that initialize a runtime ShaderCache. class ShaderCacheTest : public ::testing::Test {