mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-24 23:14:36 +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",
|
"OpenCL",
|
||||||
"Direct3D 12",
|
"Direct3D 12",
|
||||||
"Direct3D 11",
|
"Direct3D 11",
|
||||||
"Metal"
|
"Metal",
|
||||||
|
"Custom"
|
||||||
};
|
};
|
||||||
|
|
||||||
struct MemoryPage;
|
struct MemoryPage;
|
||||||
|
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user