Repository navigation
perf: ETC2 kernel ~1.7× faster - #11
Merged
Merged
Conversation
- textureGather loads, lumas as column vectors with constant indexing - drop the flip/planar-invariant Σ||p||² and Σℓ² terms, float-domain base quantisation, min-form table scores, binary-search table cover - both flips scored only for exactly-gray blocks, via a one-channel fit and two straight-line calls instead of a loop - flip preselect keeps a tenth of the luma variance (+0.07-0.10 dB on photo colour) - CPU 'fast' reference mirrors the new flip rules; docs, test pins updated GPU pass on Apple M3: ×0.597 geomean over 40 textures (f16), ×0.619 (f32); quality mean +0.008 dB, worst −0.004 dB. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
GPU pass on Apple M3: ×0.597 geomean over 40 textures (f16), ×0.619 (f32); quality mean +0.008 dB, worst −0.004 dB.