mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-02 18:07:04 +00:00
478ba4e4e2
egui requests wgpu's default limits on every backend but GL, and device creation fails when the adapter falls short of any one of them. The Raspberry Pi 5's V3D driver (Mesa V3DV) allows 15 inter-stage shader variables against the default 16, so the launcher exited before the first frame with "Limit 'max_inter_stage_shader_variables' value 16 is better than allowed 15". Wrap egui's device descriptor so each requested limit is lowered to the adapter's where it is below the request. GPUs that meet the defaults get the same request as before. Includes regression coverage with the V3D limit. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>