Merge pull request #897 from Devaniti/master

Added Custom GPU Context Type
This commit is contained in:
Bartosz Taudul 2024-10-02 19:50:20 +02:00 committed by GitHub
commit fe6b79082f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 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

@ -9,7 +9,7 @@ namespace tracy
constexpr unsigned Lz4CompressBound( unsigned isize ) { return isize + ( isize / 255 ) + 16; } constexpr unsigned Lz4CompressBound( unsigned isize ) { return isize + ( isize / 255 ) + 16; }
enum : uint32_t { ProtocolVersion = 70 }; enum : uint32_t { ProtocolVersion = 71 };
enum : uint16_t { BroadcastVersion = 3 }; enum : uint16_t { BroadcastVersion = 3 };
using lz4sz_t = uint32_t; using lz4sz_t = uint32_t;

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