Re: [Mesa-dev] [PATCH] i965: Change the order of conditions tested in if

2015-05-06 Thread Anuj Phogat
On Wed, May 6, 2015 at 2:19 PM, Matt Turner wrote: > On Wed, Apr 15, 2015 at 11:46 AM, Anuj Phogat wrote: >> Reduces the number of conditions tested in if to one in case of >> non-integer formats. Makes no functional changes. >> >> Signed-off-by: Anuj Phogat >> --- >> src/mesa/drivers/dri/i965/

Re: [Mesa-dev] [PATCH] i965: Change the order of conditions tested in if

2015-05-06 Thread Matt Turner
On Wed, Apr 15, 2015 at 11:46 AM, Anuj Phogat wrote: > Reduces the number of conditions tested in if to one in case of > non-integer formats. Makes no functional changes. > > Signed-off-by: Anuj Phogat > --- > src/mesa/drivers/dri/i965/brw_surface_formats.c | 5 +++-- > 1 file changed, 3 inserti

[Mesa-dev] [PATCH] i965: Change the order of conditions tested in if

2015-04-15 Thread Anuj Phogat
Reduces the number of conditions tested in if to one in case of non-integer formats. Makes no functional changes. Signed-off-by: Anuj Phogat --- src/mesa/drivers/dri/i965/brw_surface_formats.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_