summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-12-08 15:20:14 -0800
committerGitHub <noreply@github.com>2021-12-08 15:20:14 -0800
commit6c08cd900c0a02140b6af9de97b05c0a955243a4 (patch)
treeda9ff09d501f1d24d087fdb055763fe469988523 /tools/gfx/debug-layer.cpp
parent9606401e1de1002e3ad070bc5c6384fa5bc4d9ff (diff)
gfx Fence implementation improvements. (#2049)
Diffstat (limited to 'tools/gfx/debug-layer.cpp')
-rw-r--r--tools/gfx/debug-layer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/gfx/debug-layer.cpp b/tools/gfx/debug-layer.cpp
index 60e726243..c589662a0 100644
--- a/tools/gfx/debug-layer.cpp
+++ b/tools/gfx/debug-layer.cpp
@@ -1489,7 +1489,8 @@ void DebugCommandQueue::waitOnHost()
baseObject->waitOnHost();
}
-Result DebugCommandQueue::waitForFences(uint32_t fenceCount, IFence** fences, uint64_t* waitValues)
+Result DebugCommandQueue::waitForFenceValuesOnDevice(
+ uint32_t fenceCount, IFence** fences, uint64_t* waitValues)
{
SLANG_GFX_API_FUNC;
List<IFence*> innerFences;
@@ -1497,7 +1498,7 @@ Result DebugCommandQueue::waitForFences(uint32_t fenceCount, IFence** fences, ui
{
innerFences.add(getInnerObj(fences[i]));
}
- return baseObject->waitForFences(fenceCount, innerFences.getBuffer(), waitValues);
+ return baseObject->waitForFenceValuesOnDevice(fenceCount, innerFences.getBuffer(), waitValues);
}
Result DebugCommandQueue::getNativeHandle(NativeHandle* outHandle)