Commit 8929b9c5 by Shahbaz Youssefi Committed by Commit Bot

Vulkan: Output buffer memory barrier in graph dump

Bug: angleproject:3205 Change-Id: Id8c1de49d2201ea331e5f5223c88144db5fadbb3 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1665354Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent 1245f078
...@@ -675,6 +675,15 @@ void CommandGraphNode::setDiagnosticInfo(CommandGraphResourceType resourceType, ...@@ -675,6 +675,15 @@ void CommandGraphNode::setDiagnosticInfo(CommandGraphResourceType resourceType,
std::string CommandGraphNode::dumpCommandsForDiagnostics(const char *separator) const std::string CommandGraphNode::dumpCommandsForDiagnostics(const char *separator) const
{ {
std::string result; std::string result;
if (mGlobalMemoryBarrierSrcAccess != 0 || mGlobalMemoryBarrierDstAccess != 0)
{
result += separator;
std::ostringstream out;
out << "Memory Barrier Src: 0x" << std::hex << mGlobalMemoryBarrierSrcAccess
<< " &rarr; Dst: 0x" << std::hex << mGlobalMemoryBarrierDstAccess;
result += out.str();
}
if (mOutsideRenderPassCommands.valid()) if (mOutsideRenderPassCommands.valid())
{ {
result += separator; result += separator;
......
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