i965: Simplify HiZ clears a bit
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 15 Jun 2017 01:54:27 +0000 (18:54 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 25 Jul 2017 03:00:15 +0000 (20:00 -0700)
commitd49f51fbf49143762eba8b12e47be8839fc27c85
treec69a6bff7f7aa84e51217e55140a13cb5309da4a
parent8c47ccb13a198f4d38c772df1de457de34dde23e
i965: Simplify HiZ clears a bit

No need for all that switching when we can just assign a nice little
variable with the number of layers.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_clear.c