diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-07-13 09:12:50 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-07-13 09:17:27 -0700 |
| commit | 6da80f58ba8f51fc768f177f28a7d818b03c434e (patch) | |
| tree | 7bc2a09c412856951e036622f2b9d3a2742bcd4c /slang.h | |
| parent | 72a3e97fe6bfdffee253ad008cab7cdd3b9e796f (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |
