Commit 67da0051 by Tobin Ehlis Committed by Commit Bot

Vulkan: Fix dbg util label bug

Courtney noted this bug from a review. Should begin label on pushGroup instead of insert label. Bug: b/154030403 Change-Id: I5f4da5762e1ef03fe27b414740e34d2064af86b5 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2171951Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com> Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent a89750ec
...@@ -2476,7 +2476,7 @@ angle::Result ContextVk::pushDebugGroup(const gl::Context *context, ...@@ -2476,7 +2476,7 @@ angle::Result ContextVk::pushDebugGroup(const gl::Context *context,
VkDebugUtilsLabelEXT label; VkDebugUtilsLabelEXT label;
vk::MakeDebugUtilsLabel(source, message.c_str(), &label); vk::MakeDebugUtilsLabel(source, message.c_str(), &label);
outsideRenderPassCommandBuffer->insertDebugUtilsLabelEXT(label); outsideRenderPassCommandBuffer->beginDebugUtilsLabelEXT(label);
return angle::Result::Continue; return angle::Result::Continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment