-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix BasisUniversal ETC RA as RG transcoding #86916
Conversation
I don't have a workflow for testing etc2 on a mobile device right now. Maybe the rendering team is able to check in. It looks ok, but I've been burnt not being able to test on a device before. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally (Samsung Galaxy Z Fold4), it works as expected.
Testing project: basisu_transcode_1.zip
Built APKs (ARM64 only):
master
: basisu_transcode.master.zip- This PR: basisu_transcode.gh-86916.zip
Desktop
For comparison purposes. Texture is applied both as albedo and normal map for easier comparison.
VRAM Compressed (S3TC) | Basis Universal |
---|---|
Mobile
VRAM Compressed (ETC2) |
---|
Before | After (this PR) |
---|---|
Thanks! |
Cherry-picked for 4.2.2. |
Cherry-picked for 4.1.4. |
BasisUniversal
ETC RA as RG transcoding
The BasisUniversal module was incorrectly set to interpret
RA_AS_RG
textures asETC2_RGBA8
, which caused the following error on mobile devices:This PR should fix that issue, though I haven't been able to test it yet.
MRP for testing the changes: basisu_transcode.zip