Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CommandListのDispatchを同期実行できるようにする。 #137

Open
wraikny opened this issue Jul 7, 2023 · 1 comment · May be fixed by #142
Open

CommandListのDispatchを同期実行できるようにする。 #137

wraikny opened this issue Jul 7, 2023 · 1 comment · May be fixed by #142

Comments

@wraikny
Copy link
Member

wraikny commented Jul 7, 2023

DX12 と Vulkan では、CommandList の Dispatchが同期実行されない。そのため、一度に複数のDispatchを行うと、複数のComputeShaderが並列に実行されてしまって意図しない出力になる可能性がある。そのため、Dispatch する際に 各 ComputeBuffer に対してResource Barrier を 行い、同期的に実行されるようにする。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant