Added Custom GPU Context Type

This commit is contained in:
Dmytro Bulatov 2024-10-03 01:55:29 +09:00
parent e6eb9899bb
commit defb91abc1
2 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,8 @@ constexpr const char* GpuContextNames[] = {
"OpenCL", "OpenCL",
"Direct3D 12", "Direct3D 12",
"Direct3D 11", "Direct3D 11",
"Metal" "Metal",
"Custom"
}; };
struct MemoryPage; struct MemoryPage;

View File

@ -402,7 +402,8 @@ enum class GpuContextType : uint8_t
OpenCL, OpenCL,
Direct3D12, Direct3D12,
Direct3D11, Direct3D11,
Metal Metal,
Custom
}; };
enum GpuContextFlags : uint8_t enum GpuContextFlags : uint8_t