1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-13 16:08:50 +01:00

[dxvk] Remove pipeline compile timing

Meaningless now.
This commit is contained in:
Philip Rebohle 2022-07-07 15:02:46 +02:00
parent 5d340e48b4
commit 5562ff4472
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -798,12 +798,6 @@ namespace dxvk {
if (!prState.tsInfo.patchControlPoints)
info.pTessellationState = nullptr;
// Time pipeline compilation for debugging purposes
dxvk::high_resolution_clock::time_point t0, t1;
if (Logger::logLevel() <= LogLevel::Debug)
t0 = dxvk::high_resolution_clock::now();
VkPipeline pipeline = VK_NULL_HANDLE;
if (vk->vkCreateGraphicsPipelines(vk->device(), m_cache->handle(), 1, &info, nullptr, &pipeline) != VK_SUCCESS) {
Logger::err("DxvkGraphicsPipeline: Failed to compile pipeline");
@ -811,12 +805,6 @@ namespace dxvk {
return VK_NULL_HANDLE;
}
if (Logger::logLevel() <= LogLevel::Debug) {
t1 = dxvk::high_resolution_clock::now();
auto td = std::chrono::duration_cast<std::chrono::milliseconds>(t1 - t0);
Logger::debug(str::format("DxvkGraphicsPipeline: Finished in ", td.count(), " ms"));
}
return pipeline;
}