mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-05 12:46:11 +00:00
Revert "DISABLE WireBufferMappingReadTests.DestroyInsideMapReadCallback"
This reverts commit 1966ea9727de342342bea9a60667d6467f8f8b74. Reason for revert: dawn:1619 has been fixed. Original change's description: > DISABLE WireBufferMappingReadTests.DestroyInsideMapReadCallback > > It is failing under ASAN but should be fixed after at the same time as > issue dawn:1619 that makes mapping callbacks called only at the end of > the BufferBase method. > > Bug: dawn:1619, dawn:1621 > Change-Id: Idfdb6e36432a47eaef63b46e041f1404a2562f40 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116284 > Auto-Submit: Corentin Wallez <cwallez@chromium.org> > Reviewed-by: Austin Eng <enga@chromium.org> > Kokoro: Kokoro <noreply+kokoro@google.com> > Commit-Queue: Austin Eng <enga@chromium.org> # Not skipping CQ checks because original CL landed > 1 day ago. Bug: dawn:1619 Fixed: dawn:1621 Change-Id: Ib700147543c12b35005b718b50ed1b19245cf0ff Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117440 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
73735fde95
commit
8b5d804963
@ -335,9 +335,7 @@ TEST_F(WireBufferMappingReadTests, UnmapInsideMapReadCallback) {
|
||||
|
||||
// Test that the MapReadCallback isn't fired twice the buffer external refcount reaches 0 in the
|
||||
// callback
|
||||
// TODO(dawn:1621): Suppressed because the mapping handling still touches the buffer after it is
|
||||
// destroyed triggering an ASAN error.
|
||||
TEST_F(WireBufferMappingReadTests, DISABLED_DestroyInsideMapReadCallback) {
|
||||
TEST_F(WireBufferMappingReadTests, DestroyInsideMapReadCallback) {
|
||||
wgpuBufferMapAsync(buffer, WGPUMapMode_Read, 0, kBufferSize, ToMockBufferMapCallback, nullptr);
|
||||
|
||||
uint32_t bufferContent = 31337;
|
||||
|
Loading…
x
Reference in New Issue
Block a user