i965: Use gen7_surface_msaa_bits in Broadwell SURFACE_STATE code.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Feb 2014 19:18:41 +0000 (11:18 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 19 Feb 2014 23:35:54 +0000 (15:35 -0800)
commit4eba0d124d798f20da3721224a79701da84efa66
tree39fe1303576666dbc87b52831b0fab5379669ad9
parent6eeae17c02267c57ba3f9f2ace6252fb50dbc9ec
i965: Use gen7_surface_msaa_bits in Broadwell SURFACE_STATE code.

We already set the number of samples, but were missing the MSAA layout
mode.  Reusing gen7_surface_msaa_bits makes it easy to set both.

This also lets us drop the Gen8 surface_num_multisamples function.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/gen8_surface_state.c