mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 00:48:44 +01:00
[dxvk] Remove pipeline compile timing
Meaningless now.
This commit is contained in:
parent
5d340e48b4
commit
5562ff4472
@ -798,12 +798,6 @@ namespace dxvk {
|
|||||||
if (!prState.tsInfo.patchControlPoints)
|
if (!prState.tsInfo.patchControlPoints)
|
||||||
info.pTessellationState = nullptr;
|
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;
|
VkPipeline pipeline = VK_NULL_HANDLE;
|
||||||
if (vk->vkCreateGraphicsPipelines(vk->device(), m_cache->handle(), 1, &info, nullptr, &pipeline) != VK_SUCCESS) {
|
if (vk->vkCreateGraphicsPipelines(vk->device(), m_cache->handle(), 1, &info, nullptr, &pipeline) != VK_SUCCESS) {
|
||||||
Logger::err("DxvkGraphicsPipeline: Failed to compile pipeline");
|
Logger::err("DxvkGraphicsPipeline: Failed to compile pipeline");
|
||||||
@ -811,12 +805,6 @@ namespace dxvk {
|
|||||||
return VK_NULL_HANDLE;
|
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;
|
return pipeline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user