diff options
Diffstat (limited to 'source/slangc/main.cpp')
| -rw-r--r-- | source/slangc/main.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/slangc/main.cpp b/source/slangc/main.cpp index b0ddc7ab6..ead286434 100644 --- a/source/slangc/main.cpp +++ b/source/slangc/main.cpp @@ -4,15 +4,14 @@ #include "core/slang-io.h" +using namespace Slang; + #include <assert.h> // Currently only used for looking up `Profile::` values that aren't // exported by the public API #include "../slang/profile.h" -using namespace CoreLib::Basic; -using namespace CoreLib::IO; - // Try to read an argument for a command-line option. wchar_t const* tryReadCommandLineArgumentRaw(wchar_t const* option, wchar_t***ioCursor, wchar_t**end) { @@ -149,7 +148,7 @@ struct OptionsParser #undef CASE #define CASE(EXT, LANG, PROFILE) \ - else if(path.EndsWith(EXT)) do { addInputForeignShaderPath(path, SLANG_SOURCE_LANGUAGE_##LANG, SlangProfileID(Slang::Compiler::Profile::PROFILE)); } while(0) + else if(path.EndsWith(EXT)) do { addInputForeignShaderPath(path, SLANG_SOURCE_LANGUAGE_##LANG, SlangProfileID(Slang::Profile::PROFILE)); } while(0) // TODO: need a way to pass along stage/profile and entry-point info for these cases... CASE(".vert", GLSL, GLSL_Vertex); CASE(".frag", GLSL, GLSL_Fragment); |
