[Mesa-dev] [PATCH v2 3/9] i915: Use L8A8 instead of I8 to simulate A8 on gen2

Eric Anholt eric at anholt.net
Thu Aug 7 11:20:58 PDT 2014


ville.syrjala at linux.intel.com writes:

> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Gen2 doesn't support the A8 texture format. Currently the driver
> substitutes it with I8, but that results in incorrect RGB values.
> Use A8L8 instead. We end up wasting a bit of memory, but at least
> we should get the correct results.
>
> v2: Handle the fallback in _mesa_choose_tex_format() and also
>     do it for all alpha formats that currently accept A8

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140807/3173e48e/attachment.sig>


More information about the mesa-dev mailing list