[Mesa-dev] [PATCH v3 1/2] mesa: clear existing swizzle info before bitwise-OR

Emil Velikov emil.l.velikov at gmail.com
Fri Aug 7 10:48:52 PDT 2015

On 4 August 2015 at 19:39, Oded Gabbay <oded.gabbay at gmail.com> wrote:
> This patch fixes a bug in big-endian treatment, where the previous
> swizzle info wasn't cleared before a new swizzle info was inserted into
> the format field using a bitwise-OR operation.
> v2: use MESA_ARRAY_FORMAT_SWIZZLE_*_MASK instead of numeric constants
> v3: align according to coding style
> Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
> CC: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
I believe in the long term we'd might want to find out why things
differ wrt LE platforms.
Regardless this is a good fix imho.

Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>


More information about the mesa-dev mailing list