aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaebaek Seo <jaebaek@google.com>2020-09-10 13:49:27 -0400
committerGitHub <noreply@github.com>2020-09-10 13:49:27 -0400
commit5100b1dc183052ea0ad7bc3db1d0121743b63f37 (patch)
tree3fadce5aee9c83f8bd0a9553e10bb2c42f63b43c
parentabadcf3289085a79efb907dd09e31ae8eeee2633 (diff)
downloadamber-5100b1dc183052ea0ad7bc3db1d0121743b63f37.tar.gz
Fix shader-debugger related build error (#911)
CPPDAP class dap::integer has no member named "operator int()". We have to use "operator int64_t()".
-rw-r--r--src/vulkan/engine_vulkan_debugger.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/engine_vulkan_debugger.cc b/src/vulkan/engine_vulkan_debugger.cc
index 11d498d..f6131a6 100644
--- a/src/vulkan/engine_vulkan_debugger.cc
+++ b/src/vulkan/engine_vulkan_debugger.cc
@@ -1026,7 +1026,7 @@ class VkDebugger : public Engine::Debugger {
auto it = runningThreads_.find(thread_id);
if (it == runningThreads_.end()) {
OnError("Step event reported for non-running thread " +
- std::to_string(thread_id.operator int()));
+ std::to_string(thread_id.operator int64_t()));
}
it->second->OnStep();