We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12a00a2 commit 7f41e9cCopy full SHA for 7f41e9c
Tests/DiligentCoreAPITest/src/DXCompilerTest.cpp
@@ -527,6 +527,14 @@ float4 main(in float4 f4Position : SV_Position) : SV_TARGET
527
MaxSM = ShaderVersion{6, 6};
528
}
529
530
+ // NOTE: need to call this after GetMaxShaderModel() to load the compiler
531
+ Version DXCVersion;
532
+ pDXC->GetVersion(DXCVersion.Major, DXCVersion.Minor);
533
+ if (DXCVersion <= Version{1, 3})
534
+ {
535
+ GTEST_SKIP() << "DXC version 1.3 or older does not support ConstantBuffer<...> syntax";
536
+ }
537
+
538
for (Uint32 MinorVersion = 0; MinorVersion <= MaxSM.Minor; ++MinorVersion)
539
{
540
std::wstring Profile = L"ps_6_" + std::to_wstring(MinorVersion);
0 commit comments