summaryrefslogtreecommitdiffstats
path: root/examples/shader-object
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 /examples/shader-object
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 'examples/shader-object')
-rw-r--r--examples/shader-object/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shader-object/main.cpp b/examples/shader-object/main.cpp
index 5ab327df7..14835f0c8 100644
--- a/examples/shader-object/main.cpp
+++ b/examples/shader-object/main.cpp
@@ -235,7 +235,7 @@ int main()
encoder->endEncoding();
commandBuffer->close();
queue->executeCommandBuffer(commandBuffer);
- queue->wait();
+ queue->waitOnHost();
}
// Read back the results.
ComPtr<ISlangBlob> resultBlob;