i965: Change the order of conditions tested in if
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 15 Apr 2015 18:46:53 +0000 (11:46 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 7 May 2015 18:43:01 +0000 (11:43 -0700)
commit15259d63e808a08d755d2b44efaa62d5a8ca7655
tree65ac646aead0b215bcbddc21b6c94b0540185e96
parent8e029105c2e6959390a68116ac6d1d277815519f
i965: Change the order of conditions tested in if

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.phogat@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_surface_formats.c