From 04d43cd71f081f1b8d2f0fd803a47cb6342e4fcd Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Thu, 15 Jun 2017 15:21:20 -0700 Subject: Remove more "core" code that isn't used. It is always easier to add back code when you need it, than it is to maintain code you aren't using. --- source/slang/compiler.h | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'source/slang/compiler.h') diff --git a/source/slang/compiler.h b/source/slang/compiler.h index 3b6696647..f34be794b 100644 --- a/source/slang/compiler.h +++ b/source/slang/compiler.h @@ -152,28 +152,6 @@ namespace Slang TranslationUnitOptions const& getTranslationUnitOptions() { return *translationUnitOptions; } }; -#if 0 - - class ShaderCompiler : public Slang::Object - { - public: - virtual void Compile( - CompileResult& result, - CollectionOfTranslationUnits* collectionOfTranslationUnits, - const CompileOptions& options, - CompileRequest* request) = 0; - - virtual TranslationUnitResult PassThrough( - String const& sourceText, - String const& sourcePath, - const CompileOptions & options, - TranslationUnitOptions const& translationUnitOptions) = 0; - - }; - - ShaderCompiler * CreateShaderCompiler(); -#endif - TranslationUnitResult passThrough( String const& sourceText, String const& sourcePath, -- cgit v1.2.3