On Fri Aug 30 21:46:51 2024 +0000, Matteo Bruni wrote:
Another one of those nitpicks, sorry... "Demultiplied" is a bit of an awkward word (admittedly undoing the premultiplied alpha is an awkward operation in the first place, nothing we can do about that though). I don't have any great suggestion, maybe just spelling out the whole "reversing the premultiplication" in some way is fine (while pushing the naming issue to whenever it's time to implement it :sweat_smile:). I guess the comment could mention explicitly that we're uploading the premultiplied alpha data into an uncompressed format surface.
I also had some trouble coming up with a name for this operation, I got the term "demultiply" from looking at the DirectXTex source, particularly [here.](https://github.com/microsoft/DirectXTex/blob/7aae82706d5ce6cf3c72ecb343676bd...) It's probably the best word for the operation I've seen so far, but I've changed this comment to be more explicit.