[Mesa-dev] [PATCH] st/mesa: Map packed gallium formats to packed mesa formats.

Marek Olšák maraeo at gmail.com
Sun Aug 9 03:24:40 PDT 2015


On Sun, Aug 9, 2015 at 12:14 PM, Oded Gabbay <oded.gabbay at gmail.com> wrote:
> On Sun, Aug 9, 2015 at 12:56 PM, Marek Olšák <maraeo at gmail.com> wrote:
>> He was probably talking about the gallium swrast (softpipe/llvmpipe).
>> I don't know of anybody using classic swrast (except classic drivers
>> as software fallback).
>>
>> All Gallium formats are array-based except those which can't be arrays
>> like 332, 565, 5551, 4444, 10_10_10_2, 11_11_10, 24_8, 8_24, 32_8_24,
>> and oddities like mixed signed/unsigned components in
>> R8SG8SB8UX8U_NORM.
>>
>> The function "is_array" in u_format_parse.py is pretty clear about.
>>
>> Marek
> Hi Marek,
>
> No, I was actually talking about classic swrast. Jason's patches fix
> llvmpipe/softpipe, but classic swrast is still broken. I just checked
> it for completeness, as I know it is not in use much.
> I do think it may be in use (although I'm not sure) in 32-bit power
> systems, as they don't support llvm.

Jason's patch might fix one driver, but it might also break another on
BE. Gallium formats are all array formats except for the cases that I
mentioned, so Jason's patch is wrong.

Marek


More information about the mesa-dev mailing list