Open flibitijibibo opened 1 month ago
SDL_GPU_TEXTUREFORMAT_R8G8
is missing even though R8G8_SNORM
and R8G8_UINT
exist; pretty sure that anything that supports those two will support the UNORM variant as well.BC5
(2-component format) should definitely be added.These are very useful for tangent-space normal maps where the Z component is implicit and is reconstructed in the shader.
BC4
(1-component format) can be useful for stuff like roughness and metallic maps, though one might be better off packing them into a single texture.PVRTC
formats (especially PVRTC1
) have some weird requirements and I'm not sure how relevant they are.R16
and R16_SNORM
for the sake of completeness; R16_FLOAT
and R16_UINT
exist so I'm assuming our backends support UNORM and SNORM variants for this as well, but I'm not sure.I agree with most of those, PVRTC is deprecated in vulkan and metal (and ETC2 and ASTC replace it) so I don't think that one's needed though.
Thanks to @slime73 for reminding us of these!