/* Formats for color compression surfaces */
ISL_FORMAT_HIZ,
+ ISL_FORMAT_MCS_2X,
+ ISL_FORMAT_MCS_4X,
+ ISL_FORMAT_MCS_8X,
+ ISL_FORMAT_MCS_16X,
/* Hardware doesn't understand this out-of-band value */
ISL_FORMAT_UNSUPPORTED = UINT16_MAX,
/* Used for auxiliary surface formats */
ISL_TXC_HIZ,
+ ISL_TXC_MCS,
};
/**
#define ISL_SURF_USAGE_DISPLAY_FLIP_Y_BIT (1u << 11)
#define ISL_SURF_USAGE_STORAGE_BIT (1u << 12)
#define ISL_SURF_USAGE_HIZ_BIT (1u << 13)
+#define ISL_SURF_USAGE_MCS_BIT (1u << 14)
/** @} */
/**
return false;
case ISL_TXC_HIZ:
+ case ISL_TXC_MCS:
unreachable("Should not be called on an aux surface");
}
ASTC_LDR_2D_12X10_FLT16 , 128, 12, 10, 1, sf16, sf16, sf16, sf16, , , , linear, astc
ASTC_LDR_2D_12X12_FLT16 , 128, 12, 12, 1, sf16, sf16, sf16, sf16, , , , linear, astc
HIZ , 128, 8, 4, 1, , , , , , , , , hiz
+MCS_2X , 8, 1, 1, 1, , , , , , , , , mcs
+MCS_4X , 8, 1, 1, 1, , , , , , , , , mcs
+MCS_8X , 32, 1, 1, 1, , , , , , , , , mcs
+MCS_16X , 64, 1, 1, 1, , , , , , , , , mcs