summaryrefslogtreecommitdiff
path: root/lib/mesa/src/intel/isl/isl_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/intel/isl/isl_format.c')
-rw-r--r--lib/mesa/src/intel/isl/isl_format.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/mesa/src/intel/isl/isl_format.c b/lib/mesa/src/intel/isl/isl_format.c
index daf2d8134..1a6727b50 100644
--- a/lib/mesa/src/intel/isl/isl_format.c
+++ b/lib/mesa/src/intel/isl/isl_format.c
@@ -217,7 +217,11 @@ static const struct surface_format_info format_info[] = {
SF(50, 50, x, x, x, x, x, x, x, x, P8A8_UNORM_PALETTE0)
SF(50, 50, x, x, x, x, x, x, x, x, P8A8_UNORM_PALETTE1)
SF( x, x, x, x, x, x, x, x, x, x, A1B5G5R5_UNORM)
- SF(90, 90, x, x, 90, x, x, x, x, x, A4B4G4R4_UNORM)
+ /* According to the PRM, A4B4G4R4_UNORM isn't supported until Sky Lake
+ * but empirical testing indicates that at least sampling works just fine
+ * on Broadwell.
+ */
+ SF(80, 80, x, x, 90, x, x, x, x, x, A4B4G4R4_UNORM)
SF(90, x, x, x, x, x, x, x, x, x, L8A8_UINT)
SF(90, x, x, x, x, x, x, x, x, x, L8A8_SINT)
SF( Y, Y, x, 45, Y, Y, Y, x, x, x, R8_UNORM)