1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

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
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ constexpr const char* GpuContextNames[] = {
"OpenCL",
"Direct3D 12",
"Direct3D 11",
"Metal"
"Metal",
"Custom"
};
struct MemoryPage;
+1 -1
View File
@@ -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;
+2 -1
View File
@@ -402,7 +402,8 @@ enum class GpuContextType : uint8_t
OpenCL,
Direct3D12,
Direct3D11,
Metal
Metal,
Custom
};
enum GpuContextFlags : uint8_t