From 015f08dd4301ee6f6c00d76c03a197d1522a1e51 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 26 Nov 2019 16:20:38 +0200 Subject: [PATCH] isl: set bpb for Y8_UNORM This isn't a format we use in any of the drivers but for consistency just give it a correct bpb. We also set the luminance in the G channel. We can't actually use this format with the 3D sampler (only media). Signed-off-by: Lionel Landwerlin Reviewed-by: Jason Ekstrand Part-of: --- src/intel/isl/isl_format_layout.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/isl/isl_format_layout.csv b/src/intel/isl/isl_format_layout.csv index 81c9e39d735..6d801112b42 100644 --- a/src/intel/isl/isl_format_layout.csv +++ b/src/intel/isl/isl_format_layout.csv @@ -216,7 +216,7 @@ L8_UNORM_SRGB , 8, 1, 1, 1, , , , , un8, P8_UNORM_PALETTE1 , 8, 1, 1, 1, , , , , , , un8, p, linear, P4A4_UNORM_PALETTE1 , 8, 1, 1, 1, , , , un4, , , un4, pa, linear, A4P4_UNORM_PALETTE1 , 8, 1, 1, 1, , , , un4, , , un4, ap, linear, -Y8_UNORM , 0, 0, 0, 0, , , , , , , , , yuv, +Y8_UNORM , 8, 1, 1, 1, , un8, , , , , , , yuv, L8_UINT , 8, 1, 1, 1, , , , , ui8, , , l, linear, L8_SINT , 8, 1, 1, 1, , , , , si8, , , l, linear, I8_UINT , 8, 1, 1, 1, , , , , , ui8, , i, linear, -- 2.30.2