ScaledTexture: Trilinear scaling with 16bit texture gives black output with GL
Using Loupe 45.2 as shipped on Fedora 39, non-8-bit images don't get displayed correctly for me.
Using the following examples:
- https://raw.githubusercontent.com/link-u/avif-sample-images/master/fox.profile0.8bpc.yuv420.avif
- https://raw.githubusercontent.com/link-u/avif-sample-images/master/fox.profile0.10bpc.yuv420.avif
- https://raw.githubusercontent.com/link-u/avif-sample-images/master/fox.profile2.12bpc.yuv420.avif
The first one work fine, but the later are all black:
Interestingly zooming in works:
So it doesn't seem to be a decoding problem per-se.
Thanks for the great project!