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 <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2999>
This commit is contained in:
Lionel Landwerlin
2019-11-26 16:20:38 +02:00
committed by Marge Bot
parent 5f4d9b419a
commit 015f08dd43

View File

@@ -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,
Can't render this file because it contains an unexpected character in line 4 and column 65.