/external/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.cpp | 214 pOut->pMipInfo[i].sliceSize = mipSliceSize; in HwlComputeHtileInfo() 220 pOut->sliceSize = offset; in HwlComputeHtileInfo() 222 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo() 230 pOut->pMipInfo[i].sliceSize = 0; in HwlComputeHtileInfo() 235 pOut->pMipInfo[pIn->firstMipIdInTail].sliceSize = metaBlkSize; in HwlComputeHtileInfo() 245 pOut->sliceSize = pOut->metaBlkNumPerSlice * metaBlkSize; in HwlComputeHtileInfo() 246 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo() 252 pOut->pMipInfo[0].sliceSize = pOut->sliceSize; in HwlComputeHtileInfo() 324 pOut->pMipInfo[i].sliceSize = pitchInM * heightInM * metaBlkSize; in HwlComputeCmaskInfo() 338 pOut->pMipInfo[i].sliceSize = 0; in HwlComputeCmaskInfo() [all …]
|
/external/mesa3d/src/amd/addrlib/src/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() 1290 const UINT_32 sliceSize = pIn->pitch * pIn->height * 4 / (8 * 8); in ComputeHtileInfo() local 1295 const UINT_32 surfBytes = (sliceSize * pIn->numSlices); in ComputeHtileInfo() 1297 pOut->sliceSize = sliceSize; in ComputeHtileInfo() 1300 pOut->sliceInterleaved = ((sliceSize % align) != 0) ? TRUE : FALSE; in ComputeHtileInfo() 1304 pOut->sliceSize = pIn->flags.skipTcCompatSizeAlign ? in ComputeHtileInfo() 1305 sliceSize : PowTwoAlign(sliceSize, align); in ComputeHtileInfo() 1306 pOut->htileBytes = pOut->sliceSize; in ComputeHtileInfo() [all …]
|
D | addrlib2.cpp | 713 pOut->sliceSize = static_cast<UINT_32>(localOut.sliceSize); in ComputeFmaskInfo() 1162 pOut->addr = (localOut.sliceSize * pIn->slice) + in ComputeSurfaceAddrFromCoordLinear() 1247 pOut->slice = static_cast<UINT_32>(pIn->addr / localOut.sliceSize); in ComputeSurfaceCoordFromAddrLinear() 1250 UINT_32 offsetInSlice = static_cast<UINT_32>(pIn->addr % localOut.sliceSize); in ComputeSurfaceCoordFromAddrLinear() 1280 (mipOffsetInSlice >= localOut.sliceSize)) in ComputeSurfaceCoordFromAddrLinear() 1948 pOut->sliceSize <<= 1; in ComputeQbStereoInfo()
|
/external/mesa3d/src/amd/addrlib/inc/ |
D | addrinterface.h | 607 UINT_64 sliceSize; ///< Size of slice specified by input's slice member 913 UINT_64 sliceSize; ///< Slice size, in bytes. member 1132 UINT_64 sliceSize; ///< Slice size, in bytes. member 1337 UINT_64 sliceSize; ///< Size of slice in bytes member 2498 UINT_64 sliceSize; ///< Slice (total mip chain) size in bytes member 2731 UINT_32 sliceSize; ///< Metadata size within one slice, member 2778 UINT_32 sliceSize; ///< Slice size, in bytes. member 2966 UINT_32 sliceSize; ///< Slice size, in bytes. member 3179 UINT_32 sliceSize; ///< Size of slice in bytes member 3585 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/llvm-project/lld/lib/ReaderWriter/MachO/ |
D | MachONormalizedFileBinaryReader.cpp | 214 uint32_t sliceSize; in readBinary() local 215 if (sliceFromFatFile(mb->getMemBufferRef(), arch, sliceOffset, sliceSize)) { in readBinary() 217 objSize = sliceSize; in readBinary()
|
/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/tensorflow/tensorflow/go/ |
D | tensor.go | 337 const sliceSize = unsafe.Sizeof(sliceHeader{}) 340 …(unsafe.Pointer(uintptr(unsafe.Pointer(slice.Pointer())) + (uintptr(index) * sliceSize))) = content
|
/external/OpenCL-CTS/test_conformance/images/clFillImage/ |
D | test_fill_generic.cpp | 176 size_t sliceSize = imageInfo->slicePitch - scanlineSize * height; in create_image() local 212 src += sliceSize; in create_image()
|
/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_generic.cpp | 233 size_t sliceSize = slice_pitch_lod - scanlineSize * height; in create_image() local 272 src += sliceSize; in create_image()
|
/external/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 468 size_t sliceSize = copyExtent.height * srcRowPitch; in copyTo() local 474 ASSERT((srcSlice + sliceSize) < end()); in copyTo() 475 ASSERT((dstSlice + sliceSize) < dstImage->end()); in copyTo() 477 memcpy(dstSlice, srcSlice, sliceSize); in copyTo()
|
/external/angle/src/tests/gl_tests/ |
D | SimpleOperationTest.cpp | 299 constexpr size_t sliceSize = bufferSize / subDataCount; in TEST_P() local 302 size_t offset = i * sliceSize; in TEST_P() 303 glBufferSubData(GL_ARRAY_BUFFER, offset, sliceSize, &data[offset]); in TEST_P()
|
/external/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 251 pOut->sliceSize = numMetaBlkX * numMetaBlkY * metaBlkSize; in HwlComputeHtileInfo() 258 pOut->htileBytes = PowTwoAlign(pOut->sliceSize * numMetaBlkZ, align); in HwlComputeHtileInfo() 344 pOut->sliceSize = (numMetaBlkX * numMetaBlkY * numCompressBlkPerMetaBlk) >> 1; in HwlComputeCmaskInfo() 345 pOut->cmaskBytes = PowTwoAlign(pOut->sliceSize * numMetaBlkZ, sizeAlign); in HwlComputeCmaskInfo() 3068 pOut->offset = pIn->slice * pIn->sliceSize + in HwlComputeSubResourceOffsetForSwizzlePattern() 4100 pOut->sliceSize = static_cast<UINT_64>(pOut->mipChainPitch) * pOut->mipChainHeight * in HwlComputeSurfaceInfoTiled() 4102 pOut->surfSize = pOut->sliceSize * pOut->mipChainSlice; in HwlComputeSurfaceInfoTiled() 4203 pOut->sliceSize = static_cast<UINT_64>(pOut->pitch) * actualHeight * elementBytes; in HwlComputeSurfaceInfoLinear() 4204 pOut->surfSize = pOut->sliceSize * pOut->numSlices; in HwlComputeSurfaceInfoLinear() 4212 ADDR_ASSERT(pOut->sliceSize > 0); in HwlComputeSurfaceInfoLinear()
|
/external/mesa3d/src/amd/common/ |
D | ac_surface.c | 540 surf_level->slice_size_dw = AddrSurfInfoOut->sliceSize / 4; in gfx6_compute_level() 614 AddrDccIn->colorSurfSize = AddrSurfInfoOut->sliceSize; in gfx6_compute_level() 661 surf->htile_slice_size = AddrHtileOut->sliceSize; in gfx6_compute_level() 1150 surf->u.legacy.fmask.slice_size = fout.sliceSize; in gfx6_compute_surface() 1398 surf->u.gfx9.surf_slice_size = out.sliceSize; in gfx9_compute_miptree() 1462 surf->htile_slice_size = hout.sliceSize; in gfx9_compute_miptree()
|
/external/mesa3d/src/amd/addrlib/src/r800/ |
D | siaddrlib.cpp | 1693 UINT_64 sliceSize; in HwlGetSizeAdjustmentLinear() local 1696 sliceSize = BITS_TO_BYTES(static_cast<UINT_64>(*pPitch) * (*pHeight) * bpp * numSamples); in HwlGetSizeAdjustmentLinear() 1726 sliceSize = BITS_TO_BYTES(pixelPerSlice * bpp); in HwlGetSizeAdjustmentLinear() 1729 return sliceSize; in HwlGetSizeAdjustmentLinear()
|
D | egbaddrlib.cpp | 3286 pOut->sliceSize = surfOut.surfSize / surfOut.depth; in DispatchComputeFmaskInfo() 3290 pOut->sliceSize = surfOut.surfSize; in DispatchComputeFmaskInfo()
|
/external/angle/src/libANGLE/ |
D | validationCL.cpp | 2734 const size_t sliceSize = imageHeight * rowPitch; in ValidateCreateImage() local 2809 if (image_desc->image_slice_pitch < sliceSize) in ValidateCreateImage()
|
/external/llvm-project/mlir/lib/Dialect/Vector/ |
D | VectorOps.cpp | 1805 int64_t sliceSize = std::get<2>(it); in matchAndRewrite() local 1808 std::min(sliceOffset + sliceSize, maskDimSize) - sliceOffset); in matchAndRewrite()
|
/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()
|