From cb7726ddf977b516a9849dc15fae9f567ff4f3b5 Mon Sep 17 00:00:00 2001 From: Tex Riddell Date: Fri, 19 Jan 2024 20:40:15 -0800 Subject: [PATCH] Update WaveMatrix test shader model requirement to 6.9 (#6169) WaveMatrix is moved out of SM 6.8, so the requirement in the test needs to be updated to SM 6.9 to exclude the test from execution until at least experimental SM 6.9 is supported by the device. --- tools/clang/unittests/HLSLExec/ExecutionTest.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/clang/unittests/HLSLExec/ExecutionTest.cpp b/tools/clang/unittests/HLSLExec/ExecutionTest.cpp index b2a6f069b..3b6a472f4 100644 --- a/tools/clang/unittests/HLSLExec/ExecutionTest.cpp +++ b/tools/clang/unittests/HLSLExec/ExecutionTest.cpp @@ -649,9 +649,10 @@ public: D3D_SHADER_MODEL_6_6 = 0x66, D3D_SHADER_MODEL_6_7 = 0x67, D3D_SHADER_MODEL_6_8 = 0x68, + D3D_SHADER_MODEL_6_9 = 0x69, } D3D_SHADER_MODEL; - static const D3D_SHADER_MODEL HIGHEST_SHADER_MODEL = D3D_SHADER_MODEL_6_8; + static const D3D_SHADER_MODEL HIGHEST_SHADER_MODEL = D3D_SHADER_MODEL_6_9; bool UseDxbc() { #ifdef _HLK_CONF @@ -752,7 +753,7 @@ public: WEX::TestExecution::VerifyOutputSettings::LogOnlyFailures); CComPtr pDevice; - D3D_SHADER_MODEL model = D3D_SHADER_MODEL_6_8; + D3D_SHADER_MODEL model = D3D_SHADER_MODEL_6_9; if (!CreateDevice(&pDevice, model)) { return nullptr;