Skip to content

Commit 8ab351e

Browse files
committed
Use sm_6_6
New DXC requires higher version for linkability.
1 parent 2cdc1cd commit 8ab351e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gfx-unit-test/precompiled-module-2.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void precompiledModule2TestImplCommon(
112112
{
113113
case gfx::DeviceType::DirectX12:
114114
targetDesc.format = SLANG_DXIL;
115-
targetDesc.profile = device->getSlangSession()->getGlobalSession()->findProfile("sm_6_1");
115+
targetDesc.profile = device->getSlangSession()->getGlobalSession()->findProfile("sm_6_6");
116116
break;
117117
case gfx::DeviceType::Vulkan:
118118
targetDesc.format = SLANG_SPIRV;

0 commit comments

Comments
 (0)