Searched refs:nblk_x (Results 1 – 8 of 8) sorted by relevance
171 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 …]
75 uint32_t nblk_x; member
1477 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()
168 rtex->surface.level[0].nblk_x = pitch_in_bytes_override / rtex->surface.bpe; in r600_setup_surface()
1060 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()
1033 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()
525 pitch = align(tmp->surface.level[0].nblk_x * in evergreen_set_tex_resource()
178 rtex->surface.level[0].nblk_x = pitch_in_bytes_override / rtex->surface.bpe; in r600_setup_surface()