Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/common/
Dac_surface.c252 ADDR_COMPUTE_SURFACE_INFO_INPUT *AddrSurfInfoIn, in gfx6_compute_level() argument
262 AddrSurfInfoIn->mipLevel = level; in gfx6_compute_level()
263 AddrSurfInfoIn->width = u_minify(config->info.width, level); in gfx6_compute_level()
264 AddrSurfInfoIn->height = u_minify(config->info.height, level); in gfx6_compute_level()
270 AddrSurfInfoIn->tileMode == ADDR_TM_LINEAR_ALIGNED && in gfx6_compute_level()
271 AddrSurfInfoIn->bpp) { in gfx6_compute_level()
272 unsigned alignment = 256 / (AddrSurfInfoIn->bpp / 8); in gfx6_compute_level()
274 assert(util_is_power_of_two(AddrSurfInfoIn->bpp)); in gfx6_compute_level()
275 AddrSurfInfoIn->width = align(AddrSurfInfoIn->width, alignment); in gfx6_compute_level()
279 AddrSurfInfoIn->numSlices = u_minify(config->info.depth, level); in gfx6_compute_level()
[all …]