intel/isl: Remove tiling checks from choose_msaa_layout
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 2 Sep 2016 05:25:50 +0000 (22:25 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Oct 2016 21:53:01 +0000 (14:53 -0700)
commitc3bd7114113e959a185f7cdb8c884b4a10a199c8
treeaf23d58df1ddac82f2088632257335c3465f7209
parent69d3bb99154285bb16e8ce0f5d5cefed0d395a15
intel/isl: Remove tiling checks from choose_msaa_layout

We already do those checks in filter_tiling.  There's no good reason to
repeat them in choose_msaa_layout.  If anything they should have been
asserts and not "return false" checks.  Also, this check was causing us to
outright reject multisampled HiZ surfaces which wasn't intended.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/isl/isl_gen7.c
src/intel/isl/isl_gen8.c