-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2015-03-11 um 12:46 schrieb Matteo Bruni:
It seems to do the conversion IIRC. Notice though that that table entry is commented out.
- From my little UpdateTexture test on volumes in device.c I had the impression that UpdateTexture always just behaves like memcpy, that's why this is confusing me. Maybe my previous mental model of UpdateTexture / UpdateSurface was right and AMD just does some extra work. But maybe there is a way to make updates between different formats do something useful on all GPUs.
There are some other interesting questions though: What happens when there are different formats with the same pixel size? E.g. ARGB16 -> ARGB16F, or signed / unsigned? Or maybe R32F to A8R8G8B8? When you copy from X8R8G8B8 to A8R8G8B8, does it just memcpy the X channel into the A channel, or set A = 0xff (or 0x00)?