i965: Drop a gratuitous "if" that the compiler didn't eliminate at -O2.
authorEric Anholt <eric@anholt.net>
Tue, 17 May 2011 16:20:04 +0000 (09:20 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 31 May 2011 19:07:28 +0000 (12:07 -0700)
commitbcbb1a536f7b6f00bbb164bd14d9f63102b9a8af
tree0d01acc8454ddfe2d15881a9ee8c29068636f65e
parentd1946f53482a5a490a1da86d9bf9a3e2e866c0c4
i965: Drop a gratuitous "if" that the compiler didn't eliminate at -O2.

Oddly, this increases compiled code size.  (marking the 'if' as likely
also increases code size, but not as much).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c