projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vulkan/overlay: fix timestamp query emission with no pipeline stats
[mesa.git]
/
src
/
vulkan
/
overlay-layer
/
overlay.cpp
diff --git
a/src/vulkan/overlay-layer/overlay.cpp
b/src/vulkan/overlay-layer/overlay.cpp
index 7d24c64886eec2bbbe58c280168ed53ee2f9f7eb..5b761eefc8a6319300bde4e36732c2c8393903e8 100644
(file)
--- a/
src/vulkan/overlay-layer/overlay.cpp
+++ b/
src/vulkan/overlay-layer/overlay.cpp
@@
-1893,10
+1893,6
@@
static VkResult overlay_BeginCommandBuffer(
return result;
}
return result;
}
- /* Primary command buffers with no queries. */
- if (!cmd_buffer_data->pipeline_query_pool && cmd_buffer_data->timestamp_query_pool)
- return device_data->vtable.BeginCommandBuffer(commandBuffer, pBeginInfo);
-
/* Otherwise record a begin query as first command. */
VkResult result = device_data->vtable.BeginCommandBuffer(commandBuffer, pBeginInfo);
/* Otherwise record a begin query as first command. */
VkResult result = device_data->vtable.BeginCommandBuffer(commandBuffer, pBeginInfo);