Lines Matching refs:bpe
57 if (rdst->surface.bpe != rsrc->surface.bpe) in r600_prepare_for_dma_blit()
180 rtex->surface.bpe; in r600_texture_get_offset()
193 box->x / rtex->surface.blk_w) * rtex->surface.bpe; in r600_texture_get_offset()
210 unsigned i, bpe, flags = 0; in r600_init_surface() local
217 bpe = 4; /* stencil is allocated separately on evergreen */ in r600_init_surface()
219 bpe = util_format_get_blocksize(ptex->format); in r600_init_surface()
220 assert(util_is_power_of_two(bpe)); in r600_init_surface()
248 r = rscreen->ws->surface_init(rscreen->ws, ptex, flags, bpe, in r600_init_surface()
255 pitch_in_bytes_override != surface->u.legacy.level[0].nblk_x * bpe) { in r600_init_surface()
259 surface->u.legacy.level[0].nblk_x = pitch_in_bytes_override / bpe; in r600_init_surface()
290 metadata->u.legacy.stride = surface->u.legacy.level[0].nblk_x * surface->bpe; in r600_texture_init_metadata()
505 rtex->surface.bpe; in r600_texture_get_handle()
583 unsigned flags, bpe; in r600_texture_get_fmask_info() local
602 bpe = 1; in r600_texture_get_fmask_info()
605 bpe = 4; in r600_texture_get_fmask_info()
616 bpe *= 2; in r600_texture_get_fmask_info()
619 if (rscreen->ws->surface_init(rscreen->ws, &templ, flags, bpe, in r600_texture_get_fmask_info()
817 rtex->surface.bpe, rtex->resource.b.b.nr_samples, in r600_print_texture_info()
1728 if (rtex->surface.bpe == 16) { in evergreen_set_clear_color()
1803 if (tex->surface.bpe > 8) { in evergreen_do_fast_color_clear()