• Home
  • Raw
  • Download

Lines Matching refs:bpe

57 	if (rdst->surface.bpe != rsrc->surface.bpe)  in si_prepare_for_dma_blit()
188 *stride = rtex->surface.u.gfx9.surf_pitch * rtex->surface.bpe; in r600_texture_get_offset()
200 box->x / rtex->surface.blk_w) * rtex->surface.bpe; in r600_texture_get_offset()
203 rtex->surface.bpe; in r600_texture_get_offset()
216 box->x / rtex->surface.blk_w) * rtex->surface.bpe; in r600_texture_get_offset()
235 unsigned i, bpe, flags = 0; in r600_init_surface() local
242 bpe = 4; /* stencil is allocated separately on evergreen */ in r600_init_surface()
244 bpe = util_format_get_blocksize(ptex->format); in r600_init_surface()
245 assert(util_is_power_of_two(bpe)); in r600_init_surface()
260 bpe = 4; in r600_init_surface()
295 r = sscreen->ws->surface_init(sscreen->ws, ptex, flags, bpe, in r600_init_surface()
301 unsigned pitch = pitch_in_bytes_override / bpe; in r600_init_surface()
307 (uint64_t)pitch * surface->u.gfx9.surf_height * bpe; in r600_init_surface()
314 ((uint64_t)pitch * surface->u.legacy.level[0].nblk_y * bpe) / 4; in r600_init_surface()
345 metadata->u.legacy.stride = surface->u.legacy.level[0].nblk_x * surface->bpe; in r600_texture_init_metadata()
750 rtex->surface.bpe; in r600_texture_get_handle()
755 rtex->surface.bpe; in r600_texture_get_handle()
842 unsigned flags, bpe; in si_texture_get_fmask_info() local
858 bpe = 1; in si_texture_get_fmask_info()
861 bpe = 4; in si_texture_get_fmask_info()
868 if (sscreen->ws->surface_init(sscreen->ws, &templ, flags, bpe, in si_texture_get_fmask_info()
1057 rtex->surface.bpe, rtex->resource.b.b.nr_samples, in si_print_texture_info()