Files
texturecraft/docs
JonRC 3a18128ec4 Headless: rank the adapters a name matches, keep the environment map out of render targets
From review on #192:
- WGPU_ADAPTER_NAME took the first adapter whose name matched. Several
  can match (one GPU on two backends, two GPUs of a vendor, an empty
  name), so rank them as the desktop selector does: hardware first, then
  WGPU_POWER_PREF, then native backends before OpenGL.
- The limits test only checked a clone. It now asks wgpu's noop backend,
  reporting WebGL2 limits, for the device Headless::new requests.
- The environment map was created as a render target, which needs float
  color buffers that GLES and WebGL2 may lack. It is only uploaded and
  sampled.
- The no-GPU CLI test clears inherited WGPU_ADAPTER_NAME/WGPU_POWER_PREF
  and checks that --samples renders under the same backend.
2026-11-09 10:34:19 -03:00
..