fn has_platform_support(kind: ImageBufferKind, device: &Device) -> bool