KhronosGroup / Vulkan-LoaderAndValidationLayers

**Deprecated repository** for Vulkan loader and validation layers
Apache License 2.0
414 stars 172 forks source link

No error reported for a buffer->image copy op which exceeds target mip's extents #2621

Open DominikWitczakAMD opened 6 years ago

DominikWitczakAMD commented 6 years ago

Consider a copy op which:

No error is reported by the layers in this scenario, even though for this specific use case where start offset is located at zero and the app intends to fill the whole mip with data, it should specify a copy region of size 5x3x1.

Extents of 8x4x1, despite being aligned to the compressed block size, exceeds available mip space which is an error, as per language found in section 18.4 of the spec.

tobine commented 6 years ago

Seems like this is VALIDATION_ERROR_18e00158 which DB claims a check for but may be incomplete.

mark-lunarg commented 6 years ago

@daveh-lunarg, Images! Extents! Offsets! MipLevels! Just sayin'.

daveh-lunarg commented 6 years ago

@mark-lunarg, Ugh. I wish there was a more expressive emoticon available.