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/utils/
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() argument
103 uint64_t lastRowBytes = widthInBlocks * bytesPerBlock; in RequiredBytesInCopy()
DTestUtils.h47 uint64_t widthInBlocks,
/third_party/skia/third_party/externals/dawn/src/dawn_native/
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()
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/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp484 deUint32 widthInBlocks = (size[0] + blockWidth - 1) / blockWidth; in getCompressedImageResolutionInBlocks() local
487 return tcu::UVec3(widthInBlocks, heightInBlocks, 1); in getCompressedImageResolutionInBlocks()
498 deUint32 widthInBlocks = (size[0] + blockWidth - 1) / blockWidth; in getCompressedImageResolutionBlockCeil() local
501 return tcu::UVec3(blockWidth * widthInBlocks, blockHeight * heightInBlocks, 1); in getCompressedImageResolutionBlockCeil()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/d3d12/
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/
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/
DCommandBufferD3D12.cpp195 uint32_t widthInBlocks = copySize.width / blockInfo.width; in RecordCopyTextureWithTemporaryBuffer() local
201 Align(blockInfo.byteSize * widthInBlocks, kTextureBytesPerRowAlignment); in RecordCopyTextureWithTemporaryBuffer()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCopyTests.cpp111 uint32_t widthInBlocks, in CopyTextureData() argument
125 widthInBlocks * bytesPerTexelBlock); in CopyTextureData()