From: Lionel Landwerlin Date: Tue, 26 Nov 2019 14:20:38 +0000 (+0200) Subject: isl: set bpb for Y8_UNORM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=015f08dd4301ee6f6c00d76c03a197d1522a1e51;p=mesa.git 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: --- 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,