Color format documentation
AIUI, all client buffers must use SRGB with pre-multiplied alpha. A few questions:
- Is this documented anywhere in more detail?
- When a client has a straight linear RGB image, do they first convert the color channels to SRGB and then pre-multiply or do they first pre-multiply and then convert the color channels to SRGB?
- Is there any way to do correct blending of these textures "in hardware", i.e., not manually in a shader? I tried to use VK_FORMAT_B8G8R8A8_SRGB but it seems that this format is not compatible with what KMS/clients expect. Is there a format that is compatible with this usecase or would this require a new extension?