mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 20:14:35 +00:00
Merge pull request #897 from Devaniti/master
Added Custom GPU Context Type
This commit is contained in:
commit
fe6b79082f
@ -38,7 +38,8 @@ constexpr const char* GpuContextNames[] = {
|
||||
"OpenCL",
|
||||
"Direct3D 12",
|
||||
"Direct3D 11",
|
||||
"Metal"
|
||||
"Metal",
|
||||
"Custom"
|
||||
};
|
||||
|
||||
struct MemoryPage;
|
||||
|
@ -9,7 +9,7 @@ namespace tracy
|
||||
|
||||
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 };
|
||||
|
||||
using lz4sz_t = uint32_t;
|
||||
|
@ -402,7 +402,8 @@ enum class GpuContextType : uint8_t
|
||||
OpenCL,
|
||||
Direct3D12,
|
||||
Direct3D11,
|
||||
Metal
|
||||
Metal,
|
||||
Custom
|
||||
};
|
||||
|
||||
enum GpuContextFlags : uint8_t
|
||||
|
Loading…
Reference in New Issue
Block a user