summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-hlsl.cpp
diff options
context:
space:
mode:
authorDarren Wihandi <65404740+fairywreath@users.noreply.github.com>2025-03-13 06:28:03 -0400
committerGitHub <noreply@github.com>2025-03-13 18:28:03 +0800
commit395302d2404e3429f3cdfa406e89fa76bc0d444b (patch)
tree0114009e9573cd94007dc3c4c1dfcad844cc33f8 /source/slang/slang-emit-hlsl.cpp
parentee1995ba397c4f670c991aeeb05d3fcaaebb6771 (diff)
Add mesh shader output topology checks (#6592)
* initial wip * more wip * add test * add unexpected for invalid target * fixups and improve error message * fixups and improve error message * remove incorrect comment --------- Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
Diffstat (limited to 'source/slang/slang-emit-hlsl.cpp')
-rw-r--r--source/slang/slang-emit-hlsl.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/slang/slang-emit-hlsl.cpp b/source/slang/slang-emit-hlsl.cpp
index 89300e13e..0f1ef3ee0 100644
--- a/source/slang/slang-emit-hlsl.cpp
+++ b/source/slang/slang-emit-hlsl.cpp
@@ -577,9 +577,6 @@ void HLSLSourceEmitter::emitEntryPointAttributesImpl(
emitNumThreadsAttribute();
if (auto decor = irFunc->findDecoration<IROutputTopologyDecoration>())
{
- // TODO: Ellie validate here/elsewhere, what's allowed here is
- // different from the tesselator
- // The naming here is plural, so add an 's'
_emitHLSLDecorationSingleString("outputtopology", irFunc, decor->getTopology());
}
break;