summaryrefslogtreecommitdiffstats
path: root/tools/gfx-unit-test
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-12-07 13:45:49 -0800
committerGitHub <noreply@github.com>2021-12-07 13:45:49 -0800
commit90d8af888b40c83b33f9f0c037bd2ab8c19a35f4 (patch)
tree21ada472ea0d768352f46da7db64f9dc449d1209 /tools/gfx-unit-test
parent646eecc6af878ea7682c814c15b4e838c3231ee3 (diff)
gfx: D3D12 and VK Fence implementation. (#2048)
* gfx: D3D12 and VK Fence implementation. * Fix. * Update project files. * Revert project file changes. * Remove project files Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx-unit-test')
-rw-r--r--tools/gfx-unit-test/buffer-barrier-test.cpp2
-rw-r--r--tools/gfx-unit-test/compute-smoke.cpp2
-rw-r--r--tools/gfx-unit-test/create-buffer-from-handle.cpp2
-rw-r--r--tools/gfx-unit-test/existing-device-handle-test.cpp2
-rw-r--r--tools/gfx-unit-test/format-unit-tests.cpp2
-rw-r--r--tools/gfx-unit-test/get-shared-handle.cpp2
-rw-r--r--tools/gfx-unit-test/mutable-shader-object.cpp2
-rw-r--r--tools/gfx-unit-test/root-mutable-shader-object.cpp2
8 files changed, 8 insertions, 8 deletions
diff --git a/tools/gfx-unit-test/buffer-barrier-test.cpp b/tools/gfx-unit-test/buffer-barrier-test.cpp
index 4dd3aa9a8..f11dd1e5b 100644
--- a/tools/gfx-unit-test/buffer-barrier-test.cpp
+++ b/tools/gfx-unit-test/buffer-barrier-test.cpp
@@ -109,7 +109,7 @@ namespace gfx_test
encoder->endEncoding();
commandBuffer->close();
queue->executeCommandBuffer(commandBuffer);
- queue->wait();
+ queue->waitOnHost();
}
compareComputeResult(
diff --git a/tools/gfx-unit-test/compute-smoke.cpp b/tools/gfx-unit-test/compute-smoke.cpp
index 9a8298bf8..4dc3c685c 100644
--- a/tools/gfx-unit-test/compute-smoke.cpp
+++ b/tools/gfx-unit-test/compute-smoke.cpp
@@ -87,7 +87,7 @@ namespace gfx_test
encoder->endEncoding();
commandBuffer->close();
queue->executeCommandBuffer(commandBuffer);
- queue->wait();
+ queue->waitOnHost();
}
compareComputeResult(
diff --git a/tools/gfx-unit-test/create-buffer-from-handle.cpp b/tools/gfx-unit-test/create-buffer-from-handle.cpp
index 538dc492a..71b5f5ca2 100644
--- a/tools/gfx-unit-test/create-buffer-from-handle.cpp
+++ b/tools/gfx-unit-test/create-buffer-from-handle.cpp
@@ -78,7 +78,7 @@ namespace gfx_test
encoder->endEncoding();
commandBuffer->close();
queue->executeCommandBuffer(commandBuffer);
- queue->wait();
+ queue->waitOnHost();
}
compareComputeResult(
diff --git a/tools/gfx-unit-test/existing-device-handle-test.cpp b/tools/gfx-unit-test/existing-device-handle-test.cpp
index 652a530af..257ac1f37 100644
--- a/tools/gfx-unit-test/existing-device-handle-test.cpp
+++ b/tools/gfx-unit-test/existing-device-handle-test.cpp
@@ -72,7 +72,7 @@ namespace gfx_test
encoder->endEncoding();
commandBuffer->close();
queue->executeCommandBuffer(commandBuffer);
- queue->wait();
+ queue->waitOnHost();
}
compareComputeResult(
diff --git a/tools/gfx-unit-test/format-unit-tests.cpp b/tools/gfx-unit-test/format-unit-tests.cpp
index b499b67bd..d46a074e5 100644
--- a/tools/gfx-unit-test/format-unit-tests.cpp
+++ b/tools/gfx-unit-test/format-unit-tests.cpp
@@ -91,7 +91,7 @@ namespace gfx_test
encoder->endEncoding();
commandBuffer->close();
queue->executeCommandBuffer(commandBuffer);
- queue->wait();
+ queue->waitOnHost();
}
}
diff --git a/tools/gfx-unit-test/get-shared-handle.cpp b/tools/gfx-unit-test/get-shared-handle.cpp
index 06114f139..8b991f15c 100644
--- a/tools/gfx-unit-test/get-shared-handle.cpp
+++ b/tools/gfx-unit-test/get-shared-handle.cpp
@@ -89,7 +89,7 @@ namespace gfx_test
encoder->endEncoding();
commandBuffer->close();
queue->executeCommandBuffer(commandBuffer);
- queue->wait();
+ queue->waitOnHost();
}
compareComputeResult(
diff --git a/tools/gfx-unit-test/mutable-shader-object.cpp b/tools/gfx-unit-test/mutable-shader-object.cpp
index efaf95761..8e3838620 100644
--- a/tools/gfx-unit-test/mutable-shader-object.cpp
+++ b/tools/gfx-unit-test/mutable-shader-object.cpp
@@ -104,7 +104,7 @@ namespace gfx_test
commandBuffer->close();
queue->executeCommandBuffer(commandBuffer);
- queue->wait();
+ queue->waitOnHost();
}
compareComputeResult(
diff --git a/tools/gfx-unit-test/root-mutable-shader-object.cpp b/tools/gfx-unit-test/root-mutable-shader-object.cpp
index 8cd2abbd6..c20d3aa41 100644
--- a/tools/gfx-unit-test/root-mutable-shader-object.cpp
+++ b/tools/gfx-unit-test/root-mutable-shader-object.cpp
@@ -99,7 +99,7 @@ namespace gfx_test
commandBuffer->close();
queue->executeCommandBuffer(commandBuffer);
- queue->wait();
+ queue->waitOnHost();
}
compareComputeResult(