Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/addrlib/core/
Daddrlib1.cpp403 pOut->sliceSize = pOut->surfSize; in ComputeSurfaceInfo()
407 pOut->sliceSize = pOut->surfSize / pOut->depth; in ComputeSurfaceInfo()
415 pOut->sliceSize += pOut->sliceSize * (pOut->depth - pIn->numSlices); in ComputeSurfaceInfo()
1286 const UINT_32 sliceSize = pIn->pitch * pIn->height * 4 / (8 * 8); in ComputeHtileInfo() local
1291 const UINT_32 surfBytes = (sliceSize * pIn->numSlices); in ComputeHtileInfo()
1293 pOut->sliceSize = sliceSize; in ComputeHtileInfo()
1296 pOut->sliceInterleaved = ((sliceSize % align) != 0) ? TRUE : FALSE; in ComputeHtileInfo()
1300 pOut->sliceSize = pIn->flags.skipTcCompatSizeAlign ? in ComputeHtileInfo()
1301 sliceSize : PowTwoAlign(sliceSize, align); in ComputeHtileInfo()
1302 pOut->htileBytes = pOut->sliceSize; in ComputeHtileInfo()
[all …]
Daddrlib2.cpp685 pOut->sliceSize = static_cast<UINT_32>(localOut.sliceSize); in ComputeFmaskInfo()
1125 pOut->addr = (localOut.sliceSize * pIn->slice) + in ComputeSurfaceAddrFromCoordLinear()
1210 pOut->slice = static_cast<UINT_32>(pIn->addr / localOut.sliceSize); in ComputeSurfaceCoordFromAddrLinear()
1213 UINT_32 offsetInSlice = static_cast<UINT_32>(pIn->addr % localOut.sliceSize); in ComputeSurfaceCoordFromAddrLinear()
1243 (mipOffsetInSlice >= localOut.sliceSize)) in ComputeSurfaceCoordFromAddrLinear()
/external/mesa3d/src/amd/addrlib/
Daddrinterface.h606 UINT_64 sliceSize; ///< Size of slice specified by input's slice member
912 UINT_64 sliceSize; ///< Slice size, in bytes. member
1131 UINT_64 sliceSize; ///< Slice size, in bytes. member
1336 UINT_64 sliceSize; ///< Size of slice in bytes member
2468 UINT_64 sliceSize; ///< Slice (total mip chain) size in bytes member
2700 UINT_32 sliceSize; member
2744 UINT_32 sliceSize; ///< Slice size, in bytes. member
2930 UINT_32 sliceSize; ///< Slice size, in bytes. member
3143 UINT_32 sliceSize; ///< Size of slice in bytes member
3540 UINT_64 sliceSize; ///< Slice size of a mip chain member
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp107 const size_t sliceSize = in.length() / numSlices; in sliceSourceString() local
108 const size_t sliceSizeRemainder = in.length() - (sliceSize * numSlices); in sliceSourceString()
113 out.strings.push_back(in.substr(i * sliceSize, sliceSize) + padding); in sliceSourceString()
116 out.lengths.push_back((int)sliceSize); in sliceSourceString()
121 const std::string lastString = in.substr(numSlices * sliceSize); in sliceSourceString()
/external/deqp/modules/gles3/functional/
Des3fShaderApiTests.cpp124 const size_t sliceSize = in.length() / numSlices; in sliceSourceString() local
125 const size_t sliceSizeRemainder = in.length() - (sliceSize * numSlices); in sliceSourceString()
130 out.strings.push_back(in.substr(ndx * sliceSize, sliceSize) + padding); in sliceSourceString()
133 out.lengths.push_back((int)sliceSize); in sliceSourceString()
138 const std::string lastString = in.substr(numSlices * sliceSize); in sliceSourceString()
/external/mesa3d/src/amd/common/
Dac_surface.c307 surf_level->slice_size_dw = AddrSurfInfoOut->sliceSize / 4; in gfx6_compute_level()
378 surf->htile_slice_size = AddrHtileOut->sliceSize; in gfx6_compute_level()
886 surf->u.gfx9.surf_slice_size = out.sliceSize; in gfx9_compute_miptree()
923 surf->htile_slice_size = hout.sliceSize; in gfx9_compute_miptree()
/external/mesa3d/src/amd/addrlib/gfx9/
Dgfx9addrlib.cpp233 pOut->sliceSize = numMetaBlkX * numMetaBlkY * numCompressBlkPerMetaBlk * 4; in HwlComputeHtileInfo()
256 pOut->htileBytes = PowTwoAlign(pOut->sliceSize * numMetaBlkZ, sizeAlign); in HwlComputeHtileInfo()
338 pOut->sliceSize = (numMetaBlkX * numMetaBlkY * numCompressBlkPerMetaBlk) >> 1; in HwlComputeCmaskInfo()
339 pOut->cmaskBytes = PowTwoAlign(pOut->sliceSize * numMetaBlkZ, sizeAlign); in HwlComputeCmaskInfo()
3005 pOut->offset = pIn->slice * pIn->sliceSize + in HwlComputeSubResourceOffsetForSwizzlePattern()
4037 pOut->sliceSize = static_cast<UINT_64>(pOut->mipChainPitch) * pOut->mipChainHeight * in HwlComputeSurfaceInfoTiled()
4039 pOut->surfSize = pOut->sliceSize * pOut->mipChainSlice; in HwlComputeSurfaceInfoTiled()
4127 pOut->sliceSize = static_cast<UINT_64>(pOut->pitch) * actualHeight * elementBytes; in HwlComputeSurfaceInfoLinear()
4128 pOut->surfSize = pOut->sliceSize * pOut->numSlices; in HwlComputeSurfaceInfoLinear()
4136 ADDR_ASSERT(pOut->sliceSize > 0); in HwlComputeSurfaceInfoLinear()
/external/mesa3d/src/amd/addrlib/r800/
Dsiaddrlib.cpp1660 UINT_64 sliceSize; in HwlGetSizeAdjustmentLinear() local
1663 sliceSize = BITS_TO_BYTES(static_cast<UINT_64>(*pPitch) * (*pHeight) * bpp * numSamples); in HwlGetSizeAdjustmentLinear()
1693 sliceSize = BITS_TO_BYTES(pixelPerSlice * bpp); in HwlGetSizeAdjustmentLinear()
1696 return sliceSize; in HwlGetSizeAdjustmentLinear()
Degbaddrlib.cpp3289 pOut->sliceSize = surfOut.surfSize / surfOut.depth; in DispatchComputeFmaskInfo()
3293 pOut->sliceSize = surfOut.surfSize; in DispatchComputeFmaskInfo()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp324 const tcu::IVec3 sliceSize (srcAccess.getWidth(), sliceHeight, sliceDepth); in writeTextureLevelPyramidData() local
334 (deUint32)sliceSize.x(), // bufferRowLength in writeTextureLevelPyramidData()
335 (deUint32)sliceSize.y(), // bufferImageHeight in writeTextureLevelPyramidData()
348 (deUint32)sliceSize.x(), in writeTextureLevelPyramidData()
349 (deUint32)sliceSize.y(), in writeTextureLevelPyramidData()
350 (deUint32)sliceSize.z(), in writeTextureLevelPyramidData()