Skip to content

macOS Apple Silicon support: compressonator-bc7e backend, native arm64 release - #7

Closed
elseform wants to merge 6 commits into
noisethanks:masterfrom
elseform:feat/macos-arm64
Closed

elseform wants to merge 6 commits into
noisethanks:masterfrom
elseform:feat/macos-arm64

Conversation

@elseform

@elseform elseform commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

*** EDITED ***

If only I as a proud GAMMA player could actually read and checked PRs in both repos beforehand. I was excited about compressonator and started working on it, then encountered the same issue @JorgeVV fixed, and then and only THEN i found #3. Sorry for this, lol.

save() and normalizeBackend both forced a hardcoded backend on darwin,
making the Settings toggle a no-op in both directions.
…e default on GOARCH

compressonator-bc7e-macos is Apple Silicon only. goreleaser previously
built darwin/amd64 exclusively, so the shipped Intel Mac release would
default to a backend it can't execute. Now:
- defaultConfig/normalizeBackend only default to compressonator-bc7e on
  darwin/arm64; darwin/amd64 defaults to texconv, same as Linux/Windows
- goreleaser adds a darwin/arm64 build+archive alongside the existing
  darwin/amd64 one, both labeled in release notes
- SPEC.md updated to match current backend/build-target behavior
…arm64

Name was misleading — unlike texconv-macos/7zz-macos (universal binaries),
this one is Apple Silicon only. Name now says so.
…uild

Same fix as dev (24cb03c): the embedded binary crashed with a stack
buffer overflow on hard-alpha textures due to an ispc host-compiler
miscompilation (ispc#3882) corrupting bc7e.ispc's bit-packing. Rebuilt
using the bc7enc_rdo#29 patch and the macOS build recipe from
noisethanks/compressonator#1.
@elseform elseform closed this Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant