mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 10:51:35 +00:00
The flow of commands is a bit more involved than for MapReadAsync and goes like this: - C->S MapAsync isWrite = true - S: Call MapWriteAsync - S: MapWriteAsync callback fired - S->C: MapWriteAsyncCallback (no data compared to the read case) - C: Call the MapWriteAsync callback with a zeroed out buffer - C: Application calls unmap. - C->S: UpdateMappedData with the content of the mapped pointer - S: Copy the data in the mapped pointer - C->S: Regular unmap command - S: Call unmap Makes nxt_end2end_tests -w pass all tests. Also duplicates the MapRead wire tests for the write cases