summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2020-02-21 11:42:27 -0800
committerGitHub <noreply@github.com>2020-02-21 11:42:26 -0800
commit25eeb10a9731b0980f63709d0141ba2cccc954b5 (patch)
treeafc9cd62ed4f38d8098d0bac3a496f3fddba0da7 /source
parent830671c2210191f69ddc403cc12f5454bb55b0f0 (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-compiler.cpp4
1 files changed, 4 insertions, 0 deletions
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: