[Mesa-dev] [PATCH 4/4] st/mesa: don't do (generic) compression of 1D or 1D_ARRAY textures

Brian Paul brianp at vmware.com
Fri Aug 24 08:34:35 PDT 2012


On 08/24/2012 09:28 AM, Ian Romanick wrote:
> On 08/24/2012 07:53 AM, Brian Paul wrote:
>> As with the previous commit for core Mesa.
>
> Is that referring to patch 2 or patch 3?

2.

> I didn't see a patch in core
> Mesa code that uses
> _mesa_generic_compressed_format_to_uncompressed_format.

Correct.  Gallium doesn't use the _mesa_choose_tex_format() function 
like non-gallium drivers.  The state tracker uses a table-based 
approach to choosing hw formats and there's not a simple way to 
incorporate the texture target into that code so this is a different 
approach that produces the same result in the end.

-Brian


More information about the mesa-dev mailing list