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

Merge pull request #204 from nosferalatu/Direct3D11

Direct3D11
This commit is contained in:
Bartosz Taudul
2021-05-02 02:46:24 +02:00
committed by GitHub
8 changed files with 474 additions and 8 deletions
+2 -1
View File
@@ -77,7 +77,8 @@ constexpr const char* GpuContextNames[] = {
"OpenGL",
"Vulkan",
"OpenCL",
"Direct3D 12"
"Direct3D 12",
"Direct3D 11"
};
+1 -1
View File
@@ -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;