@ -226,10 +226,10 @@ static struct vrend_format_table rgtc_formats[] = {
} ;
} ;
static struct vrend_format_table srgb_formats [ ] = {
static struct vrend_format_table srgb_formats [ ] = {
{ VIRGL_FORMAT_B8G8R8X8_SRGB , GL_SRGB8_ALPHA8 , GL_BGRA , GL_UNSIGNED_BYTE , RGB1_SWIZZLE } ,
{ VIRGL_FORMAT_B8G8R8X8_SRGB , GL_SRGB8_ALPHA8 , GL_BGRA , GL_UNSIGNED_BYTE , RGB1_SWIZZLE } ,
{ VIRGL_FORMAT_B8G8R8A8_SRGB , GL_SRGB8_ALPHA8 , GL_BGRA , GL_UNSIGNED_BYTE , NO_SWIZZLE } ,
{ VIRGL_FORMAT_B8G8R8A8_SRGB , GL_SRGB8_ALPHA8 , GL_BGRA , GL_UNSIGNED_BYTE , NO_SWIZZLE } ,
{ VIRGL_FORMAT_R8G8B8X8_SRGB , GL_SRGB8_ALPHA8 , GL_RGBA , GL_UNSIGNED_BYTE , RGB1_SWIZZLE } ,
{ VIRGL_FORMAT_R8G8B8X8_SRGB , GL_SRGB8_ALPHA8 , GL_RGBA , GL_UNSIGNED_BYTE , RGB1_SWIZZLE } ,
{ VIRGL_FORMAT_R8G8B8A8_SRGB , GL_SRGB8_ALPHA8 , GL_RGBA , GL_UNSIGNED_BYTE , NO_SWIZZLE } ,
{ VIRGL_FORMAT_L8_SRGB , GL_SR8_EXT , GL_RED , GL_UNSIGNED_BYTE , RRR1_SWIZZLE } ,
{ VIRGL_FORMAT_L8_SRGB , GL_SR8_EXT , GL_RED , GL_UNSIGNED_BYTE , RRR1_SWIZZLE } ,
{ VIRGL_FORMAT_L8A8_SRGB , GL_SRG8_EXT , GL_RG , GL_UNSIGNED_BYTE , RRRG_SWIZZLE } ,
{ VIRGL_FORMAT_L8A8_SRGB , GL_SRG8_EXT , GL_RG , GL_UNSIGNED_BYTE , RRRG_SWIZZLE } ,