Add custom shader compiler for Xbox Scarlett

This commit is contained in:
Wojtek Figat
2025-11-18 12:07:39 +01:00
parent 7a9c58003d
commit 329ebb6482
10 changed files with 112 additions and 85 deletions

View File

@@ -196,7 +196,7 @@ bool ShaderCompilerD3D::CompileShader(ShaderFunctionMeta& meta, WritePermutation
default:
return true;
}
if (_profile == ShaderProfile::DirectX_SM5)
if (GetProfile() == ShaderProfile::DirectX_SM5)
{
profileName += "_5_0";
}