Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/addrlib/core/
Daddrelemlib.cpp1133 UINT_32 basePitch; in AdjustSurfaceInfo() local
1187 basePitch = *pBasePitch; in AdjustSurfaceInfo()
1195 basePitch *= expandX; in AdjustSurfaceInfo()
1206 basePitch = basePitch / expandX; in AdjustSurfaceInfo()
1224 basePitch = (basePitch + expandX - 1) / expandX; in AdjustSurfaceInfo()
1230 *pBasePitch = basePitch; // 0 is legal value for base pitch. in AdjustSurfaceInfo()
Daddrlib.cpp486 &localIn.basePitch, in ComputeSurfaceInfo()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_surface.c187 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()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_surface.c175 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()
/external/mesa3d/src/amd/addrlib/r800/
Dsiaddrlib.cpp2203 ADDR_ASSERT(!pIn->flags.pow2Pad || ((pIn->basePitch != 0) && IsPow2(pIn->basePitch))); in HwlComputeMipLevel()
2206 if (pIn->basePitch != 0) in HwlComputeMipLevel()
2208 pIn->width = Max(1u, pIn->basePitch >> pIn->mipLevel); in HwlComputeMipLevel()
2243 if (pIn->mipLevel == 0 || pIn->basePitch == 0) in HwlCheckLastMacroTiledLvl()
2251 nextPitch = pIn->basePitch >> (pIn->mipLevel + 1); in HwlCheckLastMacroTiledLvl()
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp809 int basePitch = transferFmt.getPixelSize()*rowLen; in getRowPitch() local
810 return alignment*(basePitch/alignment + ((basePitch % alignment) ? 1 : 0)); in getRowPitch()
/external/mesa3d/src/amd/addrlib/
Daddrinterface.h506 UINT_32 basePitch; ///< Base level pitch in pixels, 0 means ignored, is a member