mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 00:10:20 +01:00
anv/sparse: remove useless isl_surf_get_tile_info() call
If isl_surf_get_tile_info() returned the struct instead of having it passed as a pointer, gcc would have detected this. I can write patches for that if we want it. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28724>
This commit is contained in:
parent
831da93d76
commit
2f5638cf2e
1 changed files with 0 additions and 2 deletions
|
|
@ -1025,8 +1025,6 @@ anv_sparse_bind_image_memory(struct anv_queue *queue,
|
|||
image->planes[plane].primary_surface.memory_range.offset;
|
||||
const struct isl_format_layout *layout =
|
||||
isl_format_get_layout(surf->format);
|
||||
struct isl_tile_info tile_info;
|
||||
isl_surf_get_tile_info(surf, &tile_info);
|
||||
|
||||
sparse_debug("\n=== [%s:%d] [%s] BEGIN\n", __FILE__, __LINE__, __func__);
|
||||
sparse_debug("--> mip_level:%d array_layer:%d\n",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue