diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-07-08 13:59:05 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-07-13 11:47:37 -0700 |
commit | 58c1b1088bdffe38f2f80fff4bd07708aa22e0c7 (patch) | |
tree | e393ee8ec096dcca37c5d6bd4d774f9f68911788 /src/intel/isl | |
parent | 49476576ddd5c743b852bb2c1ad75ebfe3e1c72d (diff) |
isl: Get rid of tiling_get_extent
It was unused
Reviewed-by: Chad Versace <chad.versace@intel.com>
Diffstat (limited to 'src/intel/isl')
-rw-r--r-- | src/intel/isl/isl.c | 11 | ||||
-rw-r--r-- | src/intel/isl/isl.h | 6 |
2 files changed, 0 insertions, 17 deletions
diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index 77b570df3cd..72b681ed215 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -166,17 +166,6 @@ isl_tiling_get_info(const struct isl_device *dev, return true; } -void -isl_tiling_get_extent(const struct isl_device *dev, - enum isl_tiling tiling, - uint32_t format_block_size, - struct isl_extent2d *e) -{ - struct isl_tile_info tile_info; - isl_tiling_get_info(dev, tiling, format_block_size, &tile_info); - *e = isl_extent2d(tile_info.width, tile_info.height); -} - /** * @param[out] tiling is set only on success */ diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index ef862282a2a..985b605c181 100644 --- a/src/intel/isl/isl.h +++ b/src/intel/isl/isl.h @@ -1003,12 +1003,6 @@ isl_tiling_get_info(const struct isl_device *dev, enum isl_tiling tiling, uint32_t format_block_size, struct isl_tile_info *info); - -void -isl_tiling_get_extent(const struct isl_device *dev, - enum isl_tiling tiling, - uint32_t format_block_size, - struct isl_extent2d *e); bool isl_surf_choose_tiling(const struct isl_device *dev, const struct isl_surf_init_info *restrict info, |