PIPE_FORMAT_ASTC_12x10_SRGB , astc,12,10, 1, x128, , , , xyzw, srgb
PIPE_FORMAT_ASTC_12x12_SRGB , astc,12,12, 1, x128, , , , xyzw, srgb
+PIPE_FORMAT_ASTC_3x3x3 , astc, 3, 3, 3, x128, , , , xyzw, rgb
+PIPE_FORMAT_ASTC_4x3x3 , astc, 4, 3, 3, x128, , , , xyzw, rgb
+PIPE_FORMAT_ASTC_4x4x3 , astc, 4, 4, 3, x128, , , , xyzw, rgb
+PIPE_FORMAT_ASTC_4x4x4 , astc, 4, 4, 4, x128, , , , xyzw, rgb
+PIPE_FORMAT_ASTC_5x4x4 , astc, 5, 4, 4, x128, , , , xyzw, rgb
+PIPE_FORMAT_ASTC_5x5x4 , astc, 5, 5, 4, x128, , , , xyzw, rgb
+PIPE_FORMAT_ASTC_5x5x5 , astc, 5, 5, 5, x128, , , , xyzw, rgb
+PIPE_FORMAT_ASTC_6x5x5 , astc, 6, 5, 5, x128, , , , xyzw, rgb
+PIPE_FORMAT_ASTC_6x6x5 , astc, 6, 6, 5, x128, , , , xyzw, rgb
+PIPE_FORMAT_ASTC_6x6x6 , astc, 6, 6, 6, x128, , , , xyzw, rgb
+PIPE_FORMAT_ASTC_3x3x3_SRGB , astc, 3, 3, 3, x128, , , , xyzw, srgb
+PIPE_FORMAT_ASTC_4x3x3_SRGB , astc, 4, 3, 3, x128, , , , xyzw, srgb
+PIPE_FORMAT_ASTC_4x4x3_SRGB , astc, 4, 4, 3, x128, , , , xyzw, srgb
+PIPE_FORMAT_ASTC_4x4x4_SRGB , astc, 4, 4, 4, x128, , , , xyzw, srgb
+PIPE_FORMAT_ASTC_5x4x4_SRGB , astc, 5, 4, 4, x128, , , , xyzw, srgb
+PIPE_FORMAT_ASTC_5x5x4_SRGB , astc, 5, 5, 4, x128, , , , xyzw, srgb
+PIPE_FORMAT_ASTC_5x5x5_SRGB , astc, 5, 5, 5, x128, , , , xyzw, srgb
+PIPE_FORMAT_ASTC_6x5x5_SRGB , astc, 6, 5, 5, x128, , , , xyzw, srgb
+PIPE_FORMAT_ASTC_6x6x5_SRGB , astc, 6, 6, 5, x128, , , , xyzw, srgb
+PIPE_FORMAT_ASTC_6x6x6_SRGB , astc, 6, 6, 6, x128, , , , xyzw, srgb
+
PIPE_FORMAT_ATC_RGB , atc, 4, 4, 1, x64, , , , xyz1, rgb
PIPE_FORMAT_ATC_RGBA_EXPLICIT , atc, 4, 4, 1, x128, , , , xyzw, rgb
PIPE_FORMAT_ATC_RGBA_INTERPOLATED , atc, 4, 4, 1, x128, , , , xyzw, rgb
PIPE_FORMAT_ASTC_12x10_SRGB,
PIPE_FORMAT_ASTC_12x12_SRGB,
+ PIPE_FORMAT_ASTC_3x3x3,
+ PIPE_FORMAT_ASTC_4x3x3,
+ PIPE_FORMAT_ASTC_4x4x3,
+ PIPE_FORMAT_ASTC_4x4x4,
+ PIPE_FORMAT_ASTC_5x4x4,
+ PIPE_FORMAT_ASTC_5x5x4,
+ PIPE_FORMAT_ASTC_5x5x5,
+ PIPE_FORMAT_ASTC_6x5x5,
+ PIPE_FORMAT_ASTC_6x6x5,
+ PIPE_FORMAT_ASTC_6x6x6,
+
+ PIPE_FORMAT_ASTC_3x3x3_SRGB,
+ PIPE_FORMAT_ASTC_4x3x3_SRGB,
+ PIPE_FORMAT_ASTC_4x4x3_SRGB,
+ PIPE_FORMAT_ASTC_4x4x4_SRGB,
+ PIPE_FORMAT_ASTC_5x4x4_SRGB,
+ PIPE_FORMAT_ASTC_5x5x4_SRGB,
+ PIPE_FORMAT_ASTC_5x5x5_SRGB,
+ PIPE_FORMAT_ASTC_6x5x5_SRGB,
+ PIPE_FORMAT_ASTC_6x6x5_SRGB,
+ PIPE_FORMAT_ASTC_6x6x6_SRGB,
+
PIPE_FORMAT_P016,
PIPE_FORMAT_R10G10B10X2_UNORM,
return PIPE_FORMAT_R8G8B8A8_SRGB;
return PIPE_FORMAT_ASTC_12x12_SRGB;
+ case MESA_FORMAT_RGBA_ASTC_3x3x3:
+ return PIPE_FORMAT_ASTC_3x3x3;
+ case MESA_FORMAT_RGBA_ASTC_4x3x3:
+ return PIPE_FORMAT_ASTC_4x3x3;
+ case MESA_FORMAT_RGBA_ASTC_4x4x3:
+ return PIPE_FORMAT_ASTC_4x4x3;
+ case MESA_FORMAT_RGBA_ASTC_4x4x4:
+ return PIPE_FORMAT_ASTC_4x4x4;
+ case MESA_FORMAT_RGBA_ASTC_5x4x4:
+ return PIPE_FORMAT_ASTC_5x4x4;
+ case MESA_FORMAT_RGBA_ASTC_5x5x4:
+ return PIPE_FORMAT_ASTC_5x5x4;
+ case MESA_FORMAT_RGBA_ASTC_5x5x5:
+ return PIPE_FORMAT_ASTC_5x5x5;
+ case MESA_FORMAT_RGBA_ASTC_6x5x5:
+ return PIPE_FORMAT_ASTC_6x5x5;
+ case MESA_FORMAT_RGBA_ASTC_6x6x5:
+ return PIPE_FORMAT_ASTC_6x6x5;
+ case MESA_FORMAT_RGBA_ASTC_6x6x6:
+ return PIPE_FORMAT_ASTC_6x6x6;
+ case MESA_FORMAT_SRGB8_ALPHA8_ASTC_3x3x3:
+ return PIPE_FORMAT_ASTC_3x3x3_SRGB;
+ case MESA_FORMAT_SRGB8_ALPHA8_ASTC_4x3x3:
+ return PIPE_FORMAT_ASTC_4x3x3_SRGB;
+ case MESA_FORMAT_SRGB8_ALPHA8_ASTC_4x4x3:
+ return PIPE_FORMAT_ASTC_4x4x3_SRGB;
+ case MESA_FORMAT_SRGB8_ALPHA8_ASTC_4x4x4:
+ return PIPE_FORMAT_ASTC_4x4x4_SRGB;
+ case MESA_FORMAT_SRGB8_ALPHA8_ASTC_5x4x4:
+ return PIPE_FORMAT_ASTC_5x4x4_SRGB;
+ case MESA_FORMAT_SRGB8_ALPHA8_ASTC_5x5x4:
+ return PIPE_FORMAT_ASTC_5x5x4_SRGB;
+ case MESA_FORMAT_SRGB8_ALPHA8_ASTC_5x5x5:
+ return PIPE_FORMAT_ASTC_5x5x5_SRGB;
+ case MESA_FORMAT_SRGB8_ALPHA8_ASTC_6x5x5:
+ return PIPE_FORMAT_ASTC_6x5x5_SRGB;
+ case MESA_FORMAT_SRGB8_ALPHA8_ASTC_6x6x5:
+ return PIPE_FORMAT_ASTC_6x6x5_SRGB;
+ case MESA_FORMAT_SRGB8_ALPHA8_ASTC_6x6x6:
+ return PIPE_FORMAT_ASTC_6x6x6_SRGB;
+
case MESA_FORMAT_ATC_RGB:
return PIPE_FORMAT_ATC_RGB;
case MESA_FORMAT_ATC_RGBA_EXPLICIT:
case PIPE_FORMAT_ASTC_12x12_SRGB:
return MESA_FORMAT_SRGB8_ALPHA8_ASTC_12x12;
+ case PIPE_FORMAT_ASTC_3x3x3:
+ return MESA_FORMAT_RGBA_ASTC_3x3x3;
+ case PIPE_FORMAT_ASTC_4x3x3:
+ return MESA_FORMAT_RGBA_ASTC_4x3x3;
+ case PIPE_FORMAT_ASTC_4x4x3:
+ return MESA_FORMAT_RGBA_ASTC_4x4x3;
+ case PIPE_FORMAT_ASTC_4x4x4:
+ return MESA_FORMAT_RGBA_ASTC_4x4x4;
+ case PIPE_FORMAT_ASTC_5x4x4:
+ return MESA_FORMAT_RGBA_ASTC_5x4x4;
+ case PIPE_FORMAT_ASTC_5x5x4:
+ return MESA_FORMAT_RGBA_ASTC_5x5x4;
+ case PIPE_FORMAT_ASTC_5x5x5:
+ return MESA_FORMAT_RGBA_ASTC_5x5x5;
+ case PIPE_FORMAT_ASTC_6x5x5:
+ return MESA_FORMAT_RGBA_ASTC_6x5x5;
+ case PIPE_FORMAT_ASTC_6x6x5:
+ return MESA_FORMAT_RGBA_ASTC_6x6x5;
+ case PIPE_FORMAT_ASTC_6x6x6:
+ return MESA_FORMAT_RGBA_ASTC_6x6x6;
+ case PIPE_FORMAT_ASTC_3x3x3_SRGB:
+ return MESA_FORMAT_SRGB8_ALPHA8_ASTC_3x3x3;
+ case PIPE_FORMAT_ASTC_4x3x3_SRGB:
+ return MESA_FORMAT_SRGB8_ALPHA8_ASTC_4x3x3;
+ case PIPE_FORMAT_ASTC_4x4x3_SRGB:
+ return MESA_FORMAT_SRGB8_ALPHA8_ASTC_4x4x3;
+ case PIPE_FORMAT_ASTC_4x4x4_SRGB:
+ return MESA_FORMAT_SRGB8_ALPHA8_ASTC_4x4x4;
+ case PIPE_FORMAT_ASTC_5x4x4_SRGB:
+ return MESA_FORMAT_SRGB8_ALPHA8_ASTC_5x4x4;
+ case PIPE_FORMAT_ASTC_5x5x4_SRGB:
+ return MESA_FORMAT_SRGB8_ALPHA8_ASTC_5x5x4;
+ case PIPE_FORMAT_ASTC_5x5x5_SRGB:
+ return MESA_FORMAT_SRGB8_ALPHA8_ASTC_5x5x5;
+ case PIPE_FORMAT_ASTC_6x5x5_SRGB:
+ return MESA_FORMAT_SRGB8_ALPHA8_ASTC_6x5x5;
+ case PIPE_FORMAT_ASTC_6x6x5_SRGB:
+ return MESA_FORMAT_SRGB8_ALPHA8_ASTC_6x6x5;
+ case PIPE_FORMAT_ASTC_6x6x6_SRGB:
+ return MESA_FORMAT_SRGB8_ALPHA8_ASTC_6x6x6;
+
case PIPE_FORMAT_ATC_RGB:
return MESA_FORMAT_ATC_RGB;
case PIPE_FORMAT_ATC_RGBA_EXPLICIT: