From 6da80f58ba8f51fc768f177f28a7d818b03c434e Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Thu, 13 Jul 2017 09:12:50 -0700 Subject: Allow GLSL `#version` to be selected based on profile Fixes #83 - The basic idea is that I added a bunch of more specific profile names line `glsl_vertex_430` which indicate the desired GLSL version the user wants. - An explicit `#version` line in the code always overrides one specified by profile, though --- slang.h | 1 + 1 file changed, 1 insertion(+) (limited to 'slang.h') diff --git a/slang.h b/slang.h index 14efc26c7..26a8a406f 100644 --- a/slang.h +++ b/slang.h @@ -947,6 +947,7 @@ namespace slang #include "source/slang/parameter-binding.cpp" #include "source/slang/parser.cpp" #include "source/slang/preprocessor.cpp" +#include "source/slang/profile.cpp" #include "source/slang/lookup.cpp" #include "source/slang/lower.cpp" #include "source/slang/check.cpp" -- cgit v1.2.3