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 matts...@gmail.com wrote: On Wed, Apr 15, 2015 at 11:46 AM, Anuj Phogat anuj.pho...@gmail.com 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

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 anuj.pho...@gmail.com 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 anuj.pho...@gmail.com --- src/mesa/drivers/dri/i965/brw_surface_formats.c |

[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 anuj.pho...@gmail.com --- src/mesa/drivers/dri/i965/brw_surface_formats.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git