mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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>
This commit is contained in:
parent
1e02611276
commit
560a92c4fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue