diff options
author | Jason Ekstrand <[email protected]> | 2016-03-30 16:23:02 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-04-08 15:58:01 -0700 |
commit | b0a5ca5cfc5b65262e834cdfa3cb7c6a1cfa8259 (patch) | |
tree | 7d746176c597320b34c961ac459d952651eaf474 /src/intel/isl/isl.h | |
parent | b37502b9832f02626b0caca22500b46ebbbe8007 (diff) |
isl: Remove surf_get_intratile_offset_el
The intratile offset may not be a multiple of the element size so this
calculation is invalid.
Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r-- | src/intel/isl/isl.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index 4f796f6c6a8..8f796b034f8 100644 --- a/src/intel/isl/isl.h +++ b/src/intel/isl/isl.h @@ -1164,26 +1164,6 @@ isl_tiling_get_intratile_offset_el(const struct isl_device *dev, uint32_t *y_offset_rows); /** - * @brief Calculate the intratile offsets to a subimage in the surface. - * - * In @a base_address_offset return the offset from the base of the surface to - * the base address of the first tile of the subimage. In @a x_offset_el and - * @a y_offset_el, return the offset, in units of surface elements, from the - * tile's base to the subimage's first surface element. The x and y offsets - * are intratile offsets; that is, they do not exceed the boundary of the - * surface's tiling format. - */ -void -isl_surf_get_image_intratile_offset_el(const struct isl_device *dev, - const struct isl_surf *surf, - uint32_t level, - uint32_t logical_array_layer, - uint32_t logical_z_offset, - uint32_t *base_address_offset, - uint32_t *x_offset_el, - uint32_t *y_offset_el); - -/** * @brief Get value of 3DSTATE_DEPTH_BUFFER.SurfaceFormat * * @pre surf->usage has ISL_SURF_USAGE_DEPTH_BIT |