summaryrefslogtreecommitdiffstats
path: root/src/intel/isl
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-07-01 14:25:59 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-08-17 14:46:22 -0700
commit560a92c4fd74171832ddf45910981a51c8d1418a (patch)
tree2fbaf944c56c046e9ab2d967100bec0c17d09546 /src/intel/isl
parent1e02611276a51f7a555ec901f7e0aca2648ef7cb (diff)
downloadexternal_mesa3d-560a92c4fd74171832ddf45910981a51c8d1418a.zip
external_mesa3d-560a92c4fd74171832ddf45910981a51c8d1418a.tar.gz
external_mesa3d-560a92c4fd74171832ddf45910981a51c8d1418a.tar.bz2
isl: Take the slice0_extent shortcut for interleaved MSAA
The shortcut works just fine for MSAA and the comment even says so. Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Diffstat (limited to 'src/intel/isl')
-rw-r--r--src/intel/isl/isl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index a9208f6..500eb2d 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -623,7 +623,7 @@ isl_calc_phys_slice0_extent_sa_gen4_2d(
assert(phys_level0_sa->depth == 1);
- if (info->levels == 1 && msaa_layout != ISL_MSAA_LAYOUT_INTERLEAVED) {
+ if (info->levels == 1) {
/* Do not pad the surface to the image alignment. Instead, pad it only
* to the pixel format's block alignment.
*