From e307d46eabac25460709d4579ffc1c3be8a4ad56 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 21 Feb 2018 14:57:46 -0800 Subject: 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 Reviewed-by: Nanley Chery Part-of: --- src/mesa/drivers/dri/i965/brw_blit.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/i965') 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, -- cgit v1.2.3