unhandled overflow in validate_texture_copy_range
#2962
Labels
area: validation
Issues related to validation, diagnostics, and error handling
wgpu_core::command::transfer::validate_texture_copy_range
checks that each axis of the orthotope being copied falls within the texture's boundaries with code like this:If the sum of
texture_copy_view.origin.x
andcopy_size.width
overflow in a release build, their sum may fall withinextent.width
even though the actual range is bad.The text was updated successfully, but these errors were encountered: