Home
last modified time | relevance | path

Searched refs:tile_width_log2 (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/amd/common/
Dac_surface.c102 unsigned tile_width_log2; member
211 data->tile_width_log2 = util_logbase2(w); in ac_compute_dcc_retile_tile_indices()
234 unsigned x_mask = (1u << tile->tile_width_log2) - 1; in ac_compute_retile_tile_addr()
236 unsigned tile_size_log2 = tile->tile_width_log2 + tile->tile_height_log2; in ac_compute_retile_tile_addr()
238 unsigned base = ((y >> tile->tile_height_log2) * stride + (x >> tile->tile_width_log2)) in ac_compute_retile_tile_addr()
240 unsigned offset_in_tile = tile->data[((y & y_mask) << tile->tile_width_log2) + (x & x_mask)]; in ac_compute_retile_tile_addr()
293 unsigned src_stride = DIV_ROUND_UP(w, 1u << src_tile->tile_width_log2); in ac_compute_dcc_retile_map()
294 unsigned dst_stride = DIV_ROUND_UP(w, 1u << dst_tile->tile_width_log2); in ac_compute_dcc_retile_map()