diff options
author | Jason Ekstrand <[email protected]> | 2017-05-29 20:32:26 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-06-01 15:33:31 -0700 |
commit | c1a70165be1e81204033c46dac1d8361366be236 (patch) | |
tree | ae0cf70c7ffe04df96a6ba7a32e019f52216bdb8 /src/mesa/drivers | |
parent | 10903d228919085cdb160c563c481ed1cc09e34c (diff) |
intel/isl: Remove the device parameter from isl_tiling_get_info
We were only using it for validating that we don't use Ys/Yf on gen8 and
earlier. Removing it from isl_tiling_get_info lets us remove it from a
bunch of other things that had no business needing a hardware
generation.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_blit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_blit.c b/src/mesa/drivers/dri/i965/intel_blit.c index 2925fc2c14f..21f0271a04b 100644 --- a/src/mesa/drivers/dri/i965/intel_blit.c +++ b/src/mesa/drivers/dri/i965/intel_blit.c @@ -172,8 +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(&brw->isl_dev, - tiling, mt->cpp, mt->pitch, + isl_tiling_get_intratile_offset_el(tiling, mt->cpp, mt->pitch, total_x_offset_el, total_y_offset_el, base_address_offset, x_offset_el, y_offset_el); |