Skip to content

asahi: Implement custom border colours

Alyssa Rosenzweig requested to merge alyssa/mesa:agx/border2 into main

Cc @asahilina

Test coverage for this is sorely lacking, and it's hard to get data from Apple's driver for this so a pile of this code was written "in the dark" to just see what got the tests passing (e.g. 100% of the compressed formats here were informed guesswork)

  • possible perf regression from no longer using compact sampler descriptor
  • agxdecode broken
  • probably need to move the helper from previous commit to common for agxv
  • BGR is hacked in
  • swizzled formats other than BGR are broken
Edited by Alyssa Rosenzweig

Merge request reports