isl/state: Divide the aux qpitch by 4

The field is in multiples of 4 like regular QPitch.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
This commit is contained in:
Jason Ekstrand 2016-07-13 16:42:43 -07:00
parent 2c6ca658e7
commit 0f6eb5dea0
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
* in units of samples on the main surface.
*/
s.AuxiliarySurfaceQPitch =
isl_surf_get_array_pitch_sa_rows(info->aux_surf);
isl_surf_get_array_pitch_sa_rows(info->aux_surf) >> 2;
s.AuxiliarySurfaceBaseAddress = info->aux_address;
s.AuxiliarySurfaceMode = isl_to_gen_aux_mode[info->aux_usage];
#else