Merge pull request #2038 from corporateshark/c_interface

Implemented C-language interface for glslang
This commit is contained in:
John Kessenich 2020-01-24 04:10:09 -07:00 committed by GitHub
commit 965bd4d966
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 771 additions and 3 deletions

View file

@ -38,6 +38,8 @@
#ifndef _VERSIONS_INCLUDED_
#define _VERSIONS_INCLUDED_
#define LAST_ELEMENT_MARKER(x) x
//
// Help manage multiple profiles, versions, extensions etc.
//
@ -54,7 +56,8 @@ typedef enum {
ENoProfile = (1 << 0), // only for desktop, before profiles showed up
ECoreProfile = (1 << 1),
ECompatibilityProfile = (1 << 2),
EEsProfile = (1 << 3)
EEsProfile = (1 << 3),
LAST_ELEMENT_MARKER(EProfileCount),
} EProfile;
namespace glslang {