From 25eeb10a9731b0980f63709d0141ba2cccc954b5 Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Fri, 21 Feb 2020 11:42:27 -0800 Subject: Add some missing support for Shader Model 6.4/6.5 (#1237) Just adding the enumerants for the new stages/profiles didn't automatically update the code that computes a profile string for passing to fxc/dxc. --- source/slang/slang-compiler.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/slang/slang-compiler.cpp b/source/slang/slang-compiler.cpp index 94cf7f73c..ddbcec2e5 100644 --- a/source/slang/slang-compiler.cpp +++ b/source/slang/slang-compiler.cpp @@ -642,6 +642,8 @@ namespace Slang CASE(Geometry, gs); CASE(Fragment, ps); CASE(Compute, cs); + CASE(Amplification, as); + CASE(Mesh, ms); #undef CASE } @@ -660,6 +662,8 @@ namespace Slang CASE(DX_6_1, _6_1); CASE(DX_6_2, _6_2); CASE(DX_6_3, _6_3); + CASE(DX_6_4, _6_4); + CASE(DX_6_5, _6_5); #undef CASE default: -- cgit v1.2.3