[Mesa-dev] [PATCH 2/3] gallium: Add a new A4B4G4R4 pipe format for Broadcom.

2018-02-01 Thread Eric Anholt
The VC5 HW puts A in the low bits and R in the high bits. We can't just swizzle in the shaders because the blending HW can't pick what channel A is in, so make a new format to match it. --- src/gallium/auxiliary/util/u_format.csv | 1 + src/gallium/drivers/svga/svga_format.c | 1 + src/gallium/i

Re: [Mesa-dev] [PATCH 2/3] gallium: Add a new A4B4G4R4 pipe format for Broadcom.

2018-02-01 Thread Marek Olšák
Patch 1 & 2: Reviewed-by: Marek Olšák Marek On Thu, Feb 1, 2018 at 8:20 PM, Eric Anholt wrote: > The VC5 HW puts A in the low bits and R in the high bits. We can't just > swizzle in the shaders because the blending HW can't pick what channel A > is in, so make a new format to match it. > ---