mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-04 21:13:13 -05:00
pick_adapter ranked adapters without their backend, so a GPU that wgpu offers through both Direct3D 12 and OpenGL got its Direct3D 12 adapter only because wgpu lists it first. The backend is now the last part of the ranking. An OpenGL-only GPU still beats the software adapter by kind, and the selector then declines it so that glow starts on that GPU. The test covers Direct3D 12, Vulkan, OpenGL and software adapters, in both orders and with no display known (FredApps' review). Co-Authored-By: Claude Opus 5.5 <[email protected]>