Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/common/
Dac_surface.c478 bool compressed, ADDR_COMPUTE_SURFACE_INFO_INPUT *AddrSurfInfoIn, in gfx6_compute_level() argument
488 AddrSurfInfoIn->mipLevel = level; in gfx6_compute_level()
489 AddrSurfInfoIn->width = u_minify(config->info.width, level); in gfx6_compute_level()
490 AddrSurfInfoIn->height = u_minify(config->info.height, level); in gfx6_compute_level()
495 if (config->info.levels == 1 && AddrSurfInfoIn->tileMode == ADDR_TM_LINEAR_ALIGNED && in gfx6_compute_level()
496 AddrSurfInfoIn->bpp && util_is_power_of_two_or_zero(AddrSurfInfoIn->bpp)) { in gfx6_compute_level()
497 unsigned alignment = 256 / (AddrSurfInfoIn->bpp / 8); in gfx6_compute_level()
499 AddrSurfInfoIn->width = align(AddrSurfInfoIn->width, alignment); in gfx6_compute_level()
504 if (AddrSurfInfoIn->bpp == 96) { in gfx6_compute_level()
506 assert(AddrSurfInfoIn->tileMode == ADDR_TM_LINEAR_ALIGNED); in gfx6_compute_level()
[all …]