dawn-cmake/generator/templates/wire
Corentin Wallez 2da19d5d6b Fix double MapReadCallback trigger when Unmapping in it.
When calling unmap on a mapped buffer for which the callback hasn't
fired yet, the callback should be called with UNKNOWN. The code marked
the callback as called only after calling it, causing problems with
re-entrancy where the callback would be called twice.

This could also get triggered by destroying the buffer inside the
callback.

Fix this in backend::Buffer and the WireClient and add test for both.
2018-04-06 16:03:57 -04:00
..
WireClient.cpp Fix double MapReadCallback trigger when Unmapping in it. 2018-04-06 16:03:57 -04:00
WireCmd.cpp Implement builder callback forwarding in the wire 2017-05-11 11:31:54 +02:00
WireCmd.h Implement Buffer::MapReadAsync in the wire 2017-06-13 08:30:01 -07:00
WireServer.cpp Member rename: generator/templates 2017-11-23 17:04:10 -05:00