summaryrefslogtreecommitdiffstats
path: root/source/slang/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/compiler.h')
-rw-r--r--source/slang/compiler.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h
index 7ab47e6b3..703991e36 100644
--- a/source/slang/compiler.h
+++ b/source/slang/compiler.h
@@ -152,10 +152,7 @@ namespace Slang
// where any errors were diagnosed.
RefPtr<FuncDecl> decl;
- // The declaration of the global generic parameter types
- // This will be filled in as part of semantic analysis.
- List<RefPtr<Type>> genericParameterTypes;
- List<RefPtr<Val>> genericParameterWitnesses;
+ RefPtr<Substitutions> globalGenericSubst;
};
enum class PassThroughMode : SlangPassThrough
@@ -453,7 +450,6 @@ namespace Slang
RefPtr<Scope> coreLanguageScope;
RefPtr<Scope> hlslLanguageScope;
RefPtr<Scope> slangLanguageScope;
- RefPtr<Scope> glslLanguageScope;
List<RefPtr<ModuleDecl>> loadedModuleCode;
@@ -481,7 +477,6 @@ namespace Slang
String getStdlibPath();
String getCoreLibraryCode();
String getHLSLLibraryCode();
- String getGLSLLibraryCode();
// Basic types that we don't want to re-create all the time
RefPtr<Type> errorType;
@@ -508,20 +503,6 @@ namespace Slang
Type* getErrorType();
Type* getStringType();
- Type* getConstExprRate();
- RefPtr<RateQualifiedType> getRateQualifiedType(
- Type* rate,
- Type* valueType);
-
- RefPtr<RateQualifiedType> getConstExprType(
- Type* valueType)
- {
- return getRateQualifiedType(getConstExprRate(), valueType);
- }
-
- // Should not be used in front-end code
- Type* getIRBasicBlockType();
-
// Construct the type `Ptr<valueType>`, where `Ptr`
// is looked up as a builtin type.
RefPtr<PtrType> getPtrType(RefPtr<Type> valueType);
@@ -544,8 +525,6 @@ namespace Slang
Type* elementType,
IntVal* elementCount);
- RefPtr<GroupSharedType> getGroupSharedType(RefPtr<Type> valueType);
-
SyntaxClass<RefObject> findSyntaxClass(Name* name);
Dictionary<Name*, SyntaxClass<RefObject> > mapNameToSyntaxClass;