diff options
author | Jason Ekstrand <[email protected]> | 2016-07-13 16:42:43 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-07-15 15:53:47 -0700 |
commit | 0f6eb5dea0e92218af0741d8e5befe22e9068eaf (patch) | |
tree | 515c4a83304a37f2ddd61b62b7bb91cd8159c6fa /src/intel/isl/isl_surface_state.c | |
parent | 2c6ca658e788e0a91bcc993892cc8a8d07f931a9 (diff) |
isl/state: Divide the aux qpitch by 4
The field is in multiples of 4 like regular QPitch.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_surface_state.c')
-rw-r--r-- | src/intel/isl/isl_surface_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c index 58e9af5f8ee..c8fe6700776 100644 --- a/src/intel/isl/isl_surface_state.c +++ b/src/intel/isl/isl_surface_state.c @@ -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 |