Re: [Mesa-dev] [PATCH 8/8] st/mesa: small optimization in swizzle_swizzle()

2016-09-23 Thread Charmaine Lee
Series looks good to me. Reviewed-by: Charmaine Lee From: Brian Paul Sent: Friday, September 23, 2016 8:48 AM To: mesa-dev@lists.freedesktop.org Cc: Charmaine Lee Subject: [PATCH 8/8] st/mesa: small optimization in swizzle_swizzle() Usually, there's no

[Mesa-dev] [PATCH 8/8] st/mesa: small optimization in swizzle_swizzle()

2016-09-23 Thread Brian Paul
Usually, there's no user-specified texture swizzle so we can optimize the swizzle_swizzle() function and skip the loop/switch. --- src/mesa/state_tracker/st_atom_texture.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/mesa/state_tracker/st_atom_texture.c b/src/mesa/state_tracker/st