i965/clear: Remove an early return in fast_clear_depth
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 25 Apr 2018 00:16:50 +0000 (17:16 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 17 May 2018 14:06:41 +0000 (07:06 -0700)
commit5b315f3ad1451b7c24e29f534cd1c7ed0de0fa77
tree0072ef7b1faa6f04ca4b76e84a3687bf9bbba15d
parent6f609ca609f3011b756bb920a7b06946a8a8c0b7
i965/clear: Remove an early return in fast_clear_depth

Reduce complexity and allow the next patch to delete some code. With
this change, clear operations will still be skipped and setting the
aux_state will cause no side-effects.

Remove the associated comment which implies an early return.

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_clear.c