blob: 4420a722a3b7352b3df8e8c5974174764182f290 (
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"
}
}
}
|