Searched refs:sliceSize (Results 1 – 10 of 10) sorted by relevance
/external/mesa3d/src/amd/addrlib/core/ |
D | addrlib1.cpp | 403 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 …]
|
D | addrlib2.cpp | 685 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/ |
D | addrinterface.h | 606 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/ |
D | es2fShaderApiTests.cpp | 107 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/ |
D | es3fShaderApiTests.cpp | 124 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/ |
D | ac_surface.c | 307 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/ |
D | gfx9addrlib.cpp | 233 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/ |
D | siaddrlib.cpp | 1660 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()
|
D | egbaddrlib.cpp | 3289 pOut->sliceSize = surfOut.surfSize / surfOut.depth; in DispatchComputeFmaskInfo() 3293 pOut->sliceSize = surfOut.surfSize; in DispatchComputeFmaskInfo()
|
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 324 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()
|