From b178762d051bad0f373631908b8ce7b5e9ba8d05 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 18 May 2017 14:00:48 -0700 Subject: intel/isl: Make get_intratile_offset_el take the element size in bits Reviewed-by: Topi Pohjolainen --- src/mesa/drivers/dri/i965/intel_blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/i965/intel_blit.c b/src/mesa/drivers/dri/i965/intel_blit.c index 21f0271a04b..61764fbe965 100644 --- a/src/mesa/drivers/dri/i965/intel_blit.c +++ b/src/mesa/drivers/dri/i965/intel_blit.c @@ -172,7 +172,7 @@ get_blit_intratile_offset_el(const struct brw_context *brw, uint32_t *y_offset_el) { enum isl_tiling tiling = intel_miptree_get_isl_tiling(mt); - isl_tiling_get_intratile_offset_el(tiling, mt->cpp, mt->pitch, + isl_tiling_get_intratile_offset_el(tiling, mt->cpp * 8, mt->pitch, total_x_offset_el, total_y_offset_el, base_address_offset, x_offset_el, y_offset_el); -- cgit v1.2.3