CONV_FORMAT(R10G10B10X2_UNORM)
CONV_FORMAT(A4B4G4R4_UNORM)
CONV_FORMAT(R8_SRGB)
+ CONV_FORMAT(ETC2_RGB8)
+ CONV_FORMAT(ETC2_SRGB8)
+ CONV_FORMAT(ETC2_RGB8A1)
+ CONV_FORMAT(ETC2_SRGB8A1)
+ CONV_FORMAT(ETC2_RGBA8)
+ CONV_FORMAT(ETC2_SRGBA8)
+ CONV_FORMAT(ETC2_R11_UNORM)
+ CONV_FORMAT(ETC2_R11_SNORM)
+ CONV_FORMAT(ETC2_RG11_UNORM)
+ CONV_FORMAT(ETC2_RG11_SNORM)
};
enum virgl_formats pipe_to_virgl_format(enum pipe_format format)
VIRGL_FORMAT_BPTC_RGB_FLOAT = 257,
VIRGL_FORMAT_BPTC_RGB_UFLOAT = 258,
+ /* etc2 compressed */
+ VIRGL_FORMAT_ETC2_RGB8 = 269,
+ VIRGL_FORMAT_ETC2_SRGB8 = 270,
+ VIRGL_FORMAT_ETC2_RGB8A1 = 271,
+ VIRGL_FORMAT_ETC2_SRGB8A1 = 272,
+ VIRGL_FORMAT_ETC2_RGBA8 = 273,
+ VIRGL_FORMAT_ETC2_SRGBA8 = 274,
+ VIRGL_FORMAT_ETC2_R11_UNORM = 275,
+ VIRGL_FORMAT_ETC2_R11_SNORM = 276,
+ VIRGL_FORMAT_ETC2_RG11_UNORM = 277,
+ VIRGL_FORMAT_ETC2_RG11_SNORM = 278,
+
VIRGL_FORMAT_R10G10B10X2_UNORM = 308,
VIRGL_FORMAT_A4B4G4R4_UNORM = 311,