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

2015-08-04 Thread Oded Gabbay
On Tue, Aug 4, 2015 at 8:24 PM, Matt Turner wrote: > > On Tue, Aug 4, 2015 at 10:17 AM, Oded Gabbay 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 ope

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

2015-08-04 Thread Matt Turner
On Tue, Aug 4, 2015 at 10:17 AM, Oded Gabbay 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 o

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

2015-08-04 Thread Oded Gabbay
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 Signed-off-by: Oded Gabbay CC: "10.5 10.