[Mesa-dev] [PATCH 1/2] isl: Mark A4B4G4R4_UNORM as supported on gen8

Kenneth Graunke kenneth at whitecape.org
Sat Jan 7 00:17:39 UTC 2017


On Friday, January 6, 2017 2:22:42 PM PST Jason Ekstrand wrote:
> Cc: "13.1" <mesa-dev at lists.freedesktop.org>
> ---
>  src/intel/isl/isl_format.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c
> index 98806f4..43c2f4f 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)
> 

both are
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170106/b4d6e4a7/attachment.sig>


More information about the mesa-dev mailing list