summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-cpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-cpp.h')
-rw-r--r--source/slang/slang-emit-cpp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/slang/slang-emit-cpp.h b/source/slang/slang-emit-cpp.h
index 45a9ee35a..784696b08 100644
--- a/source/slang/slang-emit-cpp.h
+++ b/source/slang/slang-emit-cpp.h
@@ -101,7 +101,7 @@ protected:
StringSlicePool::Handle _calcFuncName(const HLSLIntrinsic* specOp);
UnownedStringSlice _getTypeName(IRType* type);
- StringSlicePool::Handle _calcTypeName(IRType* type);
+ //StringSlicePool::Handle _calcTypeName(IRType* type);
SlangResult _calcTypeName(IRType* type, CodeGenTarget target, StringBuilder& out);
@@ -122,9 +122,8 @@ protected:
IRTypeSet m_typeSet;
RefPtr<HLSLIntrinsicOpLookup> m_opLookup;
HLSLIntrinsicSet m_intrinsicSet;
-
- Dictionary<IRType*, bool> m_typeEmittedMap;
- Dictionary<const HLSLIntrinsic*, bool> m_intrinsicEmittedMap;
+
+ HashSet<const HLSLIntrinsic*> m_intrinsicEmitted;
StringSlicePool m_slicePool;