shaderapidxvk

This commit is contained in:
Fisual
2022-02-16 09:39:20 +07:00
parent ed43072840
commit 0640cebf14
52 changed files with 50516 additions and 1 deletions

View File

@@ -625,6 +625,14 @@ void CMaterialSystem::SetShaderAPI( char const *pShaderAPIDLL )
{
pShaderAPIDLL = "shaderapidx11.dll";
}
else if (CommandLine()->ParmValue("-dxlevel", 90) == 100 || strstr(Plat_GetCommandLineA(), "-dx10") != NULL)
{
pShaderAPIDLL = "shaderapidx10.dll";
}
else if (strstr(Plat_GetCommandLineA(), "-vulkan") != NULL)
{
pShaderAPIDLL = "shaderapidxvk.dll";
}
else if ( !pShaderAPIDLL )
{
pShaderAPIDLL = "shaderapidx9.dll";