isl: Fix width check in isl_gen7_choose_msaa_layout.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 24 Sep 2017 21:50:17 +0000 (14:50 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Oct 2017 17:21:45 +0000 (10:21 -0700)
commit113a6a639fec88631411d4a53d8e68cdebe15865
treeeff764d0978459756df32737e379a91aeecff904
parent68f69ebdccca16246bafd86e86ed80fab369009b
isl: Fix width check in isl_gen7_choose_msaa_layout.

The restriction is supposed to apply if the width *field* is >= 8192,
meaning the actual width *value* is >= 8193.

The code also incorrectly used == for some reason.

Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/isl/isl_gen7.c