Home
last modified time | relevance | path

Searched refs:widthInBlocks (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DCommandValidation.cpp119 uint32_t widthInBlocks = copySize.width / blockInfo.width; in ComputeRequiredBytesInCopy() local
121 uint64_t bytesInLastRow = Safe32x32(widthInBlocks, blockInfo.byteSize); in ComputeRequiredBytesInCopy()
183 uint32_t widthInBlocks = copyExtent.width / blockInfo.width; in ApplyDefaultTextureDataLayoutOptions() local
184 uint32_t bytesInLastRow = widthInBlocks * blockInfo.byteSize; in ApplyDefaultTextureDataLayoutOptions()
217 uint32_t widthInBlocks = copyExtent.width / blockInfo.width; in ValidateLinearTextureData() local
218 ASSERT(Safe32x32(widthInBlocks, blockInfo.byteSize) <= in ValidateLinearTextureData()
220 uint32_t bytesInLastRow = widthInBlocks * blockInfo.byteSize; in ValidateLinearTextureData()
H A DCommandBuffer.cpp190 const uint64_t widthInBlocks = copy->copySize.width / blockInfo.width; in IsFullBufferOverwrittenInTextureToBufferCopy() local
200 const uint64_t copyTextureDataSizePerRow = widthInBlocks * blockInfo.byteSize; in IsFullBufferOverwrittenInTextureToBufferCopy()
/third_party/skia/third_party/externals/dawn/src/utils/
H A DTestUtils.cpp83 uint32_t widthInBlocks = copyExtent.width / blockWidth; in RequiredBytesInCopy() local
86 return RequiredBytesInCopy(bytesPerRow, rowsPerImage, widthInBlocks, heightInBlocks, in RequiredBytesInCopy()
92 uint64_t widthInBlocks, in RequiredBytesInCopy()
103 uint64_t lastRowBytes = widthInBlocks * bytesPerBlock; in RequiredBytesInCopy()
90 RequiredBytesInCopy(uint64_t bytesPerRow, uint64_t rowsPerImage, uint64_t widthInBlocks, uint64_t heightInBlocks, uint64_t depth, uint64_t bytesPerBlock) RequiredBytesInCopy() argument
H A DTestUtils.h47 uint64_t widthInBlocks,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageTestsUtil.cpp447 deUint32 widthInBlocks = (size[0] + blockWidth - 1) / blockWidth; in getCompressedImageResolutionInBlocks() local
450 return tcu::UVec3(widthInBlocks, heightInBlocks, 1); in getCompressedImageResolutionInBlocks()
461 deUint32 widthInBlocks = (size[0] + blockWidth - 1) / blockWidth; in getCompressedImageResolutionBlockCeil() local
464 return tcu::UVec3(blockWidth * widthInBlocks, blockHeight * heightInBlocks, 1); in getCompressedImageResolutionBlockCeil()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageTestsUtil.cpp447 deUint32 widthInBlocks = (size[0] + blockWidth - 1) / blockWidth; in getCompressedImageResolutionInBlocks() local
450 return tcu::UVec3(widthInBlocks, heightInBlocks, 1); in getCompressedImageResolutionInBlocks()
461 deUint32 widthInBlocks = (size[0] + blockWidth - 1) / blockWidth; in getCompressedImageResolutionBlockCeil() local
464 return tcu::UVec3(blockWidth * widthInBlocks, blockHeight * heightInBlocks, 1); in getCompressedImageResolutionBlockCeil()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
H A DCopySplitTests.cpp68 uint32_t widthInBlocks = textureSpec.width / textureSpec.blockWidth; in ValidateFootprints() local
73 widthInBlocks, heightInBlocks, in ValidateFootprints()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DCommandBufferVk.cpp450 uint32_t widthInBlocks = copySize.width / blockInfo.width; in RecordCopyImageWithTemporaryBuffer() local
457 widthInBlocks * heightInBlocks * copySize.depthOrArrayLayers * blockInfo.byteSize; in RecordCopyImageWithTemporaryBuffer()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DCommandBufferD3D12.cpp195 uint32_t widthInBlocks = copySize.width / blockInfo.width; local
201 Align(blockInfo.byteSize * widthInBlocks, kTextureBytesPerRowAlignment);

Completed in 14 milliseconds