Set profile id for metal and pssl to avoid d3d9 codepath. (#2355)

This commit is contained in:
MooZ 2021-01-13 16:10:23 +01:00 committed by GitHub
parent 6b061ffd4e
commit 465c13ad37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,8 +102,8 @@ namespace bgfx
{ ShadingLang::HLSL, 300, "s_3_0" },
{ ShadingLang::HLSL, 400, "s_4_0" },
{ ShadingLang::HLSL, 500, "s_5_0" },
{ ShadingLang::Metal, 1, "metal" },
{ ShadingLang::PSSL, 1, "pssl" },
{ ShadingLang::Metal, 1000, "metal" },
{ ShadingLang::PSSL, 1000, "pssl" },
{ ShadingLang::SpirV, 1331, "spirv13-11" },
{ ShadingLang::SpirV, 1411, "spirv14-11" },
{ ShadingLang::SpirV, 1512, "spirv15-12" },