diff options
author | Jason Ekstrand <[email protected]> | 2017-01-06 12:20:14 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-01-06 16:44:15 -0800 |
commit | 4e7958fb13ec26233ce08b4e49c325bc12a0dc40 (patch) | |
tree | e95b7c2deff3301e15765c314c5596720849d673 | |
parent | f6d3af2af6fd27c5d4e4ecfe369ca805b74fcc9c (diff) |
isl: Mark A4B4G4R4_UNORM as supported on gen8
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "13.0" <[email protected]>
-rw-r--r-- | src/intel/isl/isl_format.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c index 98806f47cf9..43c2f4f5a9b 100644 --- a/src/intel/isl/isl_format.c +++ b/src/intel/isl/isl_format.c @@ -217,7 +217,10 @@ static const struct surface_format_info format_info[] = { SF(50, 50, x, x, x, x, x, x, x, x, P8A8_UNORM_PALETTE0) SF(50, 50, x, x, x, x, x, x, x, x, P8A8_UNORM_PALETTE1) SF( x, x, x, x, x, x, x, x, x, x, A1B5G5R5_UNORM) - SF(90, 90, x, x, 90, x, x, x, x, x, A4B4G4R4_UNORM) + /* According to the PRM, A4B4G4R4_UNORM isn't supported until Sky Lake + * but empirical testing indicates that it works just fine on Broadwell. + */ + SF(80, 80, x, x, 80, x, x, x, x, x, A4B4G4R4_UNORM) SF(90, x, x, x, x, x, x, x, x, x, L8A8_UINT) SF(90, x, x, x, x, x, x, x, x, x, L8A8_SINT) SF( Y, Y, x, 45, Y, Y, Y, x, x, x, R8_UNORM) |