mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
@@ -77,7 +77,8 @@ constexpr const char* GpuContextNames[] = {
|
||||
"OpenGL",
|
||||
"Vulkan",
|
||||
"OpenCL",
|
||||
"Direct3D 12"
|
||||
"Direct3D 12",
|
||||
"Direct3D 11"
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -5353,7 +5353,7 @@ void Worker::ProcessGpuZoneBeginImplCommon( GpuEvent* zone, const QueueGpuZoneBe
|
||||
}
|
||||
else
|
||||
{
|
||||
// OpenGL doesn't need per-zone thread id. It still can be sent,
|
||||
// OpenGL and Direct3D11 doesn't need per-zone thread id. It still can be sent,
|
||||
// because it may be needed for callstack collection purposes.
|
||||
zone->SetThread( 0 );
|
||||
ztid = 0;
|
||||
|
||||
Reference in New Issue
Block a user