isl: set bpb for Y8_UNORM
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 26 Nov 2019 14:20:38 +0000 (16:20 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 15:59:21 +0000 (15:59 +0000)
commit015f08dd4301ee6f6c00d76c03a197d1522a1e51
tree02b07582de1e51a4de15cb5481bcb006593ab553
parent5f4d9b419a1c931ad468b8b22b8a95b1216891e4
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>
src/intel/isl/isl_format_layout.csv