Skip to content

Rendering validation errors should result in black screen, not a crash #4457

@Wumpf

Description

@Wumpf

We already install a wgpu validation error callback for shader reloading. But it seems we still forward to the default panic based handler in many cases.

Generally, ANY validation error during the rendering of a spaceview or setting up graphics data should result in an error message and/or black screen, but not a crash ever.

-> Make sure this is the case in all circumstances, no matter if shader reloading is on or off (this has a considerable effect on this)

Extra: Figure out if we're able to trace errors back to space views so we can draw with egui to the space view in following frames that it is in an invalid state. Essentially allowing space views to enter a "crashed" state

Metadata

Metadata

Assignees

Labels

💣 crashcrash, deadlock/freeze, do-no-start🔺 re_rendererrendering, graphics, GPU

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions