mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
591: Warn when binding a buffer that is still mapped r=kvark a=almarklein Fixes #510 I'd like to make more contributions wrt validation. Though I'm quite new to Rust, so let's start small :) From the discussion in #510 I concluded that in this case the buffer has actually been dropped, does the error message make sense like this? Do the messages logged with `log::warn`, end up in the same logging system as the layer validation messages? So a solution to get those messages into Python (for wgpu-py) would work for both kinds of validation messages? Co-authored-by: Almar Klein <almar.klein@gmail.com>