vulkano-rs / vulkano

Safe and rich Rust wrapper around the Vulkan API
Apache License 2.0
4.45k stars 435 forks source link

Add details for error messages in validate_pipeline_descriptor_sets #2509

Closed ComfyFluffy closed 4 months ago

ComfyFluffy commented 4 months ago

Add details for format and image_view_type checks in RecordingCommandBuffer::validate_pipeline_descriptor_sets to make debugging easier.

Rua commented 4 months ago

Thanks, I agree that this helps. Maybe the messages would be clearer still if the message said "pipeline requires X, but image view type is Y", instead of "expected" and "found"? Then there's no doubt on what pieces are referred to.