You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nical
changed the title
read-mapped buffer content incorrect unless a submission happens between write and read
Read-mapped buffer content incorrect unless a submission happens between write and read
Jan 31, 2024
Description
This is visible during CTS runs, but it was already filed against wgpu-native a while back in gfx-rs/wgpu-native#305.
See the test below. It creates a mapped buffer, writes data into it, unmaps it, maps it again and checks that the content matches what was written.
Repro steps
Expected vs observed behavior
The above test should pass but currently doesn't unless the submit call is uncommented.
Extra materials
The failing cts test is
webgpu:api,operation,buffers,map:mapAsync,read:mapAsyncRegionLeft="default-expand";mapAsyncRegionRight="default-expand"
Platform
Information about your OS, version of
wgpu
, your tech stack, etc.The text was updated successfully, but these errors were encountered: