commit | 13f0ff7d9fdebf7a272a3ec5ba3befac33b8417f | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Fri Apr 03 13:02:04 2020 +0100 |
committer | Ben Clayton <bclayton@google.com> | Fri Apr 03 16:03:57 2020 +0000 |
tree | 1dd4966beb22c253aca0058ed65b9a44052dee4e | |
parent | b470e41bac7c12f046c64c3c1a6f876f23c35f99 [diff] |
Vulkan/Debug: Always provide the dap::Source::path This is common for virtual and physical files. Bug: b/148401179 Change-Id: I266097382098c1daf776ae64d878f08febee5d0e Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43429 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Tested-by: Ben Clayton <bclayton@google.com>
diff --git a/src/Vulkan/Debug/Server.cpp b/src/Vulkan/Debug/Server.cpp index c8751c1..267811d 100644 --- a/src/Vulkan/Debug/Server.cpp +++ b/src/Vulkan/Debug/Server.cpp
@@ -536,10 +536,7 @@ { out.sourceReference = file->id.value(); } - else - { - out.path = file->path(); - } + out.path = file->path(); return out; }