Update astcenc to the upstream 5.3.0 release #104462
Open
+2,032
−777
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a maintenance update for the Arm astcenc ASTC compressor, updating to the upstream 5.3.0 release. This brings the compressor inline with the latest Khronos Data Format Specification, v1.4.0, which clarified some ambiguous compressor functionality. There are no major changes in terms of core codec functionality compared to the 4.8.0 release that Godot had been using, but many minor optimizations, bug fixes, and image quality improvements.
The biggest improvement for Godot users is that builds using the Visual Studio
cl.exe
compiler will now correctly default to the SSE2-optimized backend (on x86-64) and NEON-optimized backend (on Arm64) rather than the reference C backend. This makes compression more than 3 times faster. Builds using other compilers (GCC, LLVM/Clang) were not impacted by the underlying issue, and see no performance uplift.(For avoidance of doubt, I'm the upstream maintainer for astcenc at Arm).