Home
last modified time | relevance | path

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

/external/libdrm/radeon/
Dradeon_surface.c171 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in surf_minify()
176 if (surflevel->nblk_x < xalign || surflevel->nblk_y < yalign) { in surf_minify()
181 surflevel->nblk_x = ALIGN(surflevel->nblk_x, xalign); in surf_minify()
186 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in surf_minify()
580 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in eg_surf_minify()
585 if (surflevel->nblk_x < mtilew || surflevel->nblk_y < mtileh) { in eg_surf_minify()
590 surflevel->nblk_x = ALIGN(surflevel->nblk_x, mtilew); in eg_surf_minify()
595 mtile_pr = surflevel->nblk_x / mtilew; in eg_surf_minify()
600 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in eg_surf_minify()
1429 surflevel->nblk_x = (next_power_of_two(surflevel->npix_x) + surf->blk_w - 1) / surf->blk_w; in si_surf_minify()
[all …]
Dradeon_surface.h75 uint32_t nblk_x; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1477 pitch = (rtex->surface.level[level].nblk_x) / 8 - 1; in si_cb()
1478 slice = (rtex->surface.level[level].nblk_x * rtex->surface.level[level].nblk_y) / 64; in si_cb()
1643 pitch = (rtex->surface.level[level].nblk_x / 8) - 1; in si_db()
1644 slice = (rtex->surface.level[level].nblk_x * rtex->surface.level[level].nblk_y) / 64; in si_db()
2047 pitch = tmp->surface.level[offset_level].nblk_x * util_format_get_blockwidth(state->format); in si_create_sampler_view()
Dr600_texture.c168 rtex->surface.level[0].nblk_x = pitch_in_bytes_override / rtex->surface.bpe; in r600_setup_surface()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c1060 pitch = tmp->surface.level[offset_level].nblk_x * util_format_get_blockwidth(state->format); in r600_create_sampler_view()
1280 pitch = rtex->surface.level[level].nblk_x / 8 - 1; in r600_init_color_surface()
1281 slice = (rtex->surface.level[level].nblk_x * rtex->surface.level[level].nblk_y) / 64; in r600_init_color_surface()
1484 pitch = rtex->surface.level[level].nblk_x / 8 - 1; in r600_init_depth_surface()
1485 slice = (rtex->surface.level[level].nblk_x * rtex->surface.level[level].nblk_y) / 64; in r600_init_depth_surface()
Devergreen_state.c1033 pitch = tmp->surface.level[0].nblk_x * util_format_get_blockwidth(state->format); in evergreen_create_sampler_view()
1266 pitch = (rtex->surface.level[level].nblk_x) / 8 - 1; in evergreen_init_color_surface()
1267 slice = (rtex->surface.level[level].nblk_x * rtex->surface.level[level].nblk_y) / 64; in evergreen_init_color_surface()
1449 pitch = (rtex->surface.level[level].nblk_x / 8) - 1; in evergreen_init_depth_surface()
1450 slice = (rtex->surface.level[level].nblk_x * rtex->surface.level[level].nblk_y) / 64; in evergreen_init_depth_surface()
Devergreen_compute_internal.c525 pitch = align(tmp->surface.level[0].nblk_x * in evergreen_set_tex_resource()
Dr600_texture.c178 rtex->surface.level[0].nblk_x = pitch_in_bytes_override / rtex->surface.bpe; in r600_setup_surface()