summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-07-13 09:12:50 -0700
committerTim Foley <tfoley@nvidia.com>2017-07-13 09:17:27 -0700
commit6da80f58ba8f51fc768f177f28a7d818b03c434e (patch)
tree7bc2a09c412856951e036622f2b9d3a2742bcd4c /slang.h
parent72a3e97fe6bfdffee253ad008cab7cdd3b9e796f (diff)
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
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h1
1 files changed, 1 insertions, 0 deletions
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"