Home
last modified time | relevance | path

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

/external/libdrm/radeon/
Dradeon_surface.c168 struct radeon_surface_level *surflevel, in surf_minify() argument
173 surflevel->npix_x = mip_minify(surf->npix_x, level); in surf_minify()
174 surflevel->npix_y = mip_minify(surf->npix_y, level); in surf_minify()
175 surflevel->npix_z = mip_minify(surf->npix_z, level); in surf_minify()
176 surflevel->nblk_x = (surflevel->npix_x + surf->blk_w - 1) / surf->blk_w; in surf_minify()
177 surflevel->nblk_y = (surflevel->npix_y + surf->blk_h - 1) / surf->blk_h; in surf_minify()
178 surflevel->nblk_z = (surflevel->npix_z + surf->blk_d - 1) / surf->blk_d; in surf_minify()
179 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in surf_minify()
181 if (surflevel->nblk_x < xalign || surflevel->nblk_y < yalign) { in surf_minify()
182 surflevel->mode = RADEON_SURF_MODE_1D; in surf_minify()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c732 struct legacy_surf_level *surflevel; in evergreen_fill_tex_resource_words() local
739 surflevel = tmp->surface.u.legacy.level; in evergreen_fill_tex_resource_words()
759 surflevel = tmp->surface.u.legacy.stencil_level; in evergreen_fill_tex_resource_words()
794 pitch = surflevel[base_level].nblk_x * util_format_get_blockwidth(params->pipe_format); in evergreen_fill_tex_resource_words()
797 switch (surflevel[base_level].mode) { in evergreen_fill_tex_resource_words()
850 tex_resource_words[2] = (surflevel[base_level].offset + va) >> 8; in evergreen_fill_tex_resource_words()
864 tex_resource_words[3] = (surflevel[1].offset + va) >> 8; in evergreen_fill_tex_resource_words()
866 tex_resource_words[3] = (surflevel[base_level].offset + va) >> 8; in evergreen_fill_tex_resource_words()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c4161 const struct legacy_surf_level *surflevel; in si_create_sampler_view_custom() local
4235 surflevel = tex->surface.u.legacy.level; in si_create_sampler_view_custom()
4256 surflevel = tex->surface.u.legacy.stencil_level; in si_create_sampler_view_custom()
4283 view->base_level_info = &surflevel[base_level]; in si_create_sampler_view_custom()