diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2018-02-21 14:57:46 -0800 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-08-25 22:39:30 +0000 |
commit | e307d46eabac25460709d4579ffc1c3be8a4ad56 (patch) | |
tree | a6cfa2f68e8138adc9831b86850ef9e48ffa5bc5 /src/mesa/drivers/dri/i965 | |
parent | 5200a99062afafc6a0bad542ff3ebb5b9412a28f (diff) |
intel/isl: Add more parameters to isl_tiling_get_info
They are not used yet but the layout of Yf and Ys tiles are dependent on
these parameters. While we're here, better document the function.
Rework:
* Nanley: Update crocus.
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12132>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blit.c b/src/mesa/drivers/dri/i965/brw_blit.c index 626d3e1b93f..fd1a26eedb2 100644 --- a/src/mesa/drivers/dri/i965/brw_blit.c +++ b/src/mesa/drivers/dri/i965/brw_blit.c @@ -169,8 +169,9 @@ get_blit_intratile_offset_el(const struct brw_context *brw, uint32_t *y_offset_el) { ASSERTED uint32_t z_offset_el, array_offset; - isl_tiling_get_intratile_offset_el(mt->surf.tiling, - mt->cpp * 8, mt->surf.row_pitch_B, + isl_tiling_get_intratile_offset_el(mt->surf.tiling, mt->surf.dim, + mt->cpp * 8, mt->surf.samples, + mt->surf.row_pitch_B, mt->surf.array_pitch_el_rows, total_x_offset_el, total_y_offset_el, 0, 0, tile_offset_B, |