| 62 | } |
| 63 | |
| 64 | inline const char* GetPlatformIdString( Platform platform ) |
| 65 | { |
| 66 | switch( platform ) |
| 67 | { |
| 68 | case PLATFORM_DX11: |
| 69 | return "2"; |
| 70 | case PLATFORM_DX12: |
| 71 | return "6"; |
| 72 | case PLATFORM_METAL: |
| 73 | return "10"; |
| 74 | default: |
| 75 | return "INVALID"; |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | inline Platform ParsePlatform( const char* name ) |
| 80 | { |
no outgoing calls
no test coverage detected