summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-07-17 09:48:45 -0700
committerTim Foley <tfoley@nvidia.com>2017-07-17 09:48:45 -0700
commitf23738e58dadcaab0503c6cba1d9c7819153080a (patch)
tree0cf6c089861d5de0e372f5ef09908432e04e97cc /source
parentfbae51ff49eeb6b6494be5412b52da1273ad61be (diff)
Fix AST node type for `TriangleStream`
- This was being mapped to `HLSLLineStreamType` because of a copy-paste typo
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-stdlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-stdlib.cpp b/source/slang/slang-stdlib.cpp
index 3450e72d7..7c155a1e5 100644
--- a/source/slang/slang-stdlib.cpp
+++ b/source/slang/slang-stdlib.cpp
@@ -264,7 +264,7 @@ __generic<T> __magic_type(HLSLLineStreamType) struct LineStream
void RestartStrip();
};
-__generic<T> __magic_type(HLSLLineStreamType) struct TriangleStream
+__generic<T> __magic_type(HLSLTriangleStreamType) struct TriangleStream
{
void Append(T value);
void RestartStrip();