Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/common/
Dac_surface.c632 bool compressed, ADDR_COMPUTE_SURFACE_INFO_INPUT *AddrSurfInfoIn, in gfx6_compute_level() argument
643 AddrSurfInfoIn->mipLevel = level; in gfx6_compute_level()
644 AddrSurfInfoIn->width = u_minify(config->info.width, level); in gfx6_compute_level()
645 AddrSurfInfoIn->height = u_minify(config->info.height, level); in gfx6_compute_level()
650 if (config->info.levels == 1 && AddrSurfInfoIn->tileMode == ADDR_TM_LINEAR_ALIGNED && in gfx6_compute_level()
651 AddrSurfInfoIn->bpp && util_is_power_of_two_or_zero(AddrSurfInfoIn->bpp)) { in gfx6_compute_level()
652 unsigned alignment = 256 / (AddrSurfInfoIn->bpp / 8); in gfx6_compute_level()
654 AddrSurfInfoIn->width = align(AddrSurfInfoIn->width, alignment); in gfx6_compute_level()
659 if (AddrSurfInfoIn->bpp == 96) { in gfx6_compute_level()
661 assert(AddrSurfInfoIn->tileMode == ADDR_TM_LINEAR_ALIGNED); in gfx6_compute_level()
[all …]