blob: 6090ddc2e07cac666139cb8afef0a22005dd304e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// profile.cpp
#include "profile.h"
namespace Slang {
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"
}
}
}
|