aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/TestContext.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-05-16 14:09:56 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-16 14:09:56 -0700
commitedea94c356dddd339d776e1f0d906f44427222b9 (patch)
tree4706db11cb73a742aa4a6df13f0d5516f4e46574 /tools/gpu/TestContext.cpp
parent94b25b0a803790618fd04840844f5722dba1f801 (diff)
Implement vulkan fence syncs for nanobench
Diffstat (limited to 'tools/gpu/TestContext.cpp')
-rw-r--r--tools/gpu/TestContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/TestContext.cpp b/tools/gpu/TestContext.cpp
index c6900fe41d..8a78b903b1 100644
--- a/tools/gpu/TestContext.cpp
+++ b/tools/gpu/TestContext.cpp
@@ -36,7 +36,7 @@ void TestContext::waitOnSyncOrSwap() {
this->submit();
if (fFrameFences[fCurrentFenceIdx]) {
- if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx], true)) {
+ if (!fFenceSync->waitFence(fFrameFences[fCurrentFenceIdx])) {
SkDebugf("WARNING: Wait failed for fence sync. Timings might not be accurate.\n");
}
fFenceSync->deleteFence(fFrameFences[fCurrentFenceIdx]);