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
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):