aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-11-26 16:20:38 +0200
committerMarge Bot <[email protected]>2020-03-31 15:59:21 +0000
commit015f08dd4301ee6f6c00d76c03a197d1522a1e51 (patch)
tree02b07582de1e51a4de15cb5481bcb006593ab553 /src
parent5f4d9b419a1c931ad468b8b22b8a95b1216891e4 (diff)
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 <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2999>
Diffstat (limited to 'src')
-rw-r--r--src/intel/isl/isl_format_layout.csv2
1 files changed, 1 insertions, 1 deletions
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,