Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c150 ADDR_COMPUTE_SURFACE_INFO_INPUT *AddrSurfInfoIn, in compute_level() argument
160 AddrSurfInfoIn->mipLevel = level; in compute_level()
161 AddrSurfInfoIn->width = u_minify(tex->width0, level); in compute_level()
162 AddrSurfInfoIn->height = u_minify(tex->height0, level); in compute_level()
165 AddrSurfInfoIn->numSlices = u_minify(tex->depth0, level); in compute_level()
167 AddrSurfInfoIn->numSlices = 6; in compute_level()
169 AddrSurfInfoIn->numSlices = tex->array_size; in compute_level()
175 AddrSurfInfoIn->basePitch = surf->stencil_level[0].nblk_x; in compute_level()
177 AddrSurfInfoIn->basePitch = surf->level[0].nblk_x; in compute_level()
181 AddrSurfInfoIn->basePitch *= surf->blk_w; in compute_level()
[all …]
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_surface.c164 ADDR_COMPUTE_SURFACE_INFO_INPUT *AddrSurfInfoIn, in radv_compute_level() argument
172 AddrSurfInfoIn->mipLevel = level; in radv_compute_level()
173 AddrSurfInfoIn->width = u_minify(surf->npix_x, level); in radv_compute_level()
174 AddrSurfInfoIn->height = u_minify(surf->npix_y, level); in radv_compute_level()
177 AddrSurfInfoIn->numSlices = u_minify(surf->npix_z, level); in radv_compute_level()
179 AddrSurfInfoIn->numSlices = 6; in radv_compute_level()
181 AddrSurfInfoIn->numSlices = surf->array_size; in radv_compute_level()
187 AddrSurfInfoIn->basePitch = surf->stencil_level[0].nblk_x; in radv_compute_level()
189 AddrSurfInfoIn->basePitch = surf->level[0].nblk_x; in radv_compute_level()
193 AddrSurfInfoIn->basePitch *= surf->blk_w; in radv_compute_level()
[all …]