Skip to content

Commit d6ef99a

Browse files
committed
Remove debug logging
1 parent daf83f9 commit d6ef99a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

layer_gpu_timeline/source/layer_device_functions_render_pass.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,20 +156,16 @@ VKAPI_ATTR void VKAPI_CALL layer_vkCmdBeginRenderPass<user_tag>(
156156
std::unique_lock<std::mutex> lock { g_vulkanLock };
157157
auto* layer = Device::retrieve(commandBuffer);
158158

159-
LAYER_LOG("A");
160159
auto& tracker = layer->getStateTracker();
161160
auto& cb = tracker.getCommandBuffer(commandBuffer);
162161

163-
LAYER_LOG("B");
164162
auto& rp = tracker.getRenderPass(pRenderPassBegin->renderPass);
165163
uint32_t width = pRenderPassBegin->renderArea.extent.width;
166164
uint32_t height = pRenderPassBegin->renderArea.extent.height;
167165

168166
// Notify the command buffer we are starting a new render pass
169-
LAYER_LOG("C");
170167
uint64_t tagID = cb.renderPassBegin(rp, width, height);
171168

172-
LAYER_LOG("D");
173169
// Emit the unique workload tag into the command stream
174170
std::string tagLabel = formatString("t%" PRIu64, tagID);
175171
[[maybe_unused]] VkDebugUtilsLabelEXT tagInfo {
@@ -179,11 +175,9 @@ VKAPI_ATTR void VKAPI_CALL layer_vkCmdBeginRenderPass<user_tag>(
179175
.color = { 0.0f, 0.0f, 0.0f, 0.0f }
180176
};
181177

182-
LAYER_LOG("E");
183178
// Release the lock to call into the driver
184179
lock.unlock();
185180
layer->driver.vkCmdBeginDebugUtilsLabelEXT(commandBuffer, &tagInfo);
186-
LAYER_LOG("F");
187181
layer->driver.vkCmdBeginRenderPass(commandBuffer, pRenderPassBegin, contents);
188182
}
189183

@@ -372,7 +366,6 @@ VKAPI_ATTR void VKAPI_CALL layer_vkCmdEndRenderPass<user_tag>(
372366

373367
// Update the layer command stream in the tracker
374368
auto& tracker = layer->getStateTracker();
375-
LAYER_LOG(" - Command buffer: %p", (void*)commandBuffer);
376369
auto& cb = tracker.getCommandBuffer(commandBuffer);
377370
cb.renderPassEnd();
378371

0 commit comments

Comments
 (0)