We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Morton offset should take texture dimensions into account see reflectedMortonOffset function:
https://www.khronos.org/registry/DataFormat/specs/1.3/dataformat.1.3.html#_format_pvrtc1_4bpp
Current implementation https://github.com/bkaradzic/bimg/blob/master/src/image.cpp#L2973 causes crashes/incorrect textures for non-square textures.
I can send PR with the function in specs, but current implementation seems more optimized.
The text was updated successfully, but these errors were encountered:
Can you attach PVRTC texture that would crash?
Sorry, something went wrong.
I had a crash on windows with texturev.
fractal.zip
No branches or pull requests
Morton offset should take texture dimensions into account see reflectedMortonOffset function:
https://www.khronos.org/registry/DataFormat/specs/1.3/dataformat.1.3.html#_format_pvrtc1_4bpp
Current implementation https://github.com/bkaradzic/bimg/blob/master/src/image.cpp#L2973 causes crashes/incorrect textures for non-square textures.
I can send PR with the function in specs, but current implementation seems more optimized.
The text was updated successfully, but these errors were encountered: