PIPE_FORMAT_R8_UNORM , plain, 1, 1, 1, un8 , , , , x001, rgb
PIPE_FORMAT_R8G8_UNORM , plain, 1, 1, 1, un8 , un8 , , , xy01, rgb
PIPE_FORMAT_R8G8B8_UNORM , plain, 1, 1, 1, un8 , un8 , un8 , , xyz1, rgb
+PIPE_FORMAT_B8G8R8_UNORM , plain, 1, 1, 1, un8 , un8 , un8 , , zyx1, rgb
PIPE_FORMAT_R8G8B8A8_UNORM , plain, 1, 1, 1, un8 , un8 , un8 , un8 , xyzw, rgb
PIPE_FORMAT_R8_USCALED , plain, 1, 1, 1, u8 , , , , x001, rgb
PIPE_FORMAT_R8G8_USCALED , plain, 1, 1, 1, u8 , u8 , , , xy01, rgb
return PIPE_FORMAT_R8G8_UNORM;
case MESA_FORMAT_RG_UNORM16:
return PIPE_FORMAT_R16G16_UNORM;
+ case MESA_FORMAT_BGR_UNORM8:
+ return PIPE_FORMAT_B8G8R8_UNORM;
case MESA_FORMAT_RGBA_UNORM16:
return PIPE_FORMAT_R16G16B16A16_UNORM;
return MESA_FORMAT_RG_UNORM8;
case PIPE_FORMAT_R16G16_UNORM:
return MESA_FORMAT_RG_UNORM16;
+ case PIPE_FORMAT_B8G8R8_UNORM:
+ return MESA_FORMAT_BGR_UNORM8;
case PIPE_FORMAT_A8_UINT:
return MESA_FORMAT_A_UINT8;