From 13f0ff7d9fdebf7a272a3ec5ba3befac33b8417f Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Fri, 3 Apr 2020 13:02:04 +0100 Subject: [PATCH] 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 Tested-by: Ben Clayton --- src/Vulkan/Debug/Server.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Vulkan/Debug/Server.cpp b/src/Vulkan/Debug/Server.cpp index c8751c1dd..267811d52 100644 --- a/src/Vulkan/Debug/Server.cpp +++ b/src/Vulkan/Debug/Server.cpp @@ -536,10 +536,7 @@ dap::Source Server::Impl::source(File *file) { out.sourceReference = file->id.value(); } - else - { - out.path = file->path(); - } + out.path = file->path(); return out; } -- 2.11.0