wgpu_core::RenderBundleEncoder::finish
a bit harsh when offered invalid pipelines
#2665
Labels
area: validation
Issues related to validation, diagnostics, and error handling
type: bug
Something isn't working
When
wgpu_render_bundle_set_pipeline
is given an invalid pipeline (say, because the shader module encountered a compilation error), the next call toRenderBundleEncoder::finish
panics, instead of returning aRenderCommandError
as it would for other problems, and ascommand_encoder_run_render_pass_impl
would if we were dealing with a render pass instead of a bundle.The text was updated successfully, but these errors were encountered: