mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
i965/miptree: Use mcs_mt->qpitch for aux surfaces
At one point, we were doing this correctly. It must have gotten lost in one of the many rebases. Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
67ea60db0b
commit
3c44d99653
1 changed files with 2 additions and 1 deletions
|
|
@ -3277,7 +3277,8 @@ intel_miptree_get_aux_isl_surf(struct brw_context *brw,
|
|||
* in elements of the primary color surface so we have to divide by the
|
||||
* compression block height.
|
||||
*/
|
||||
surf->array_pitch_el_rows = mt->qpitch / isl_format_get_layout(surf->format)->bh;
|
||||
surf->array_pitch_el_rows =
|
||||
mt->mcs_mt->qpitch / isl_format_get_layout(surf->format)->bh;
|
||||
}
|
||||
|
||||
union isl_color_value
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue