Skip to content

Buffer.copy_from / copy_to not always executed with CommandList #254

Description

@seph14

Describe the bug
I have a CommandList which contains a few shader dispatches and a buffer.copy_from dispatch which copies some CPU side data to the buffer.
After this CommandList is submitted (but not synchronized), another shader will be consuming the updated buffer with the same stream. I can confirm the buffer is not updated when the shader later samples it.

If I move the copy_from call to directly dispatch on the stream it works. I see that test_indirect.cpp has a commandlist call with buffer.copy_from in, but it crashes with my DX backend.

Desktop (please complete the following information):

  • OS: Windows 11
  • Backend: DX

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions