blob: 923dc284125ca7bf8132b49edea2cfd877e97cf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// profile.cpp
#include "Profile.h"
namespace Slang {
namespace Compiler {
ProfileFamily getProfileFamily(ProfileVersion version)
{
switch( version )
{
default: return ProfileFamily::Unknown;
#define PROFILE_VERSION(TAG, FAMILY) case ProfileVersion::TAG: return ProfileFamily::FAMILY;
#include "profile-defs.h"
}
}
}}
|