Searched refs:heightInBlocks (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | CommandValidation.cpp | 120 uint32_t heightInBlocks = copySize.height / blockInfo.height; in ComputeRequiredBytesInCopy() local 152 if (heightInBlocks > 0) { in ComputeRequiredBytesInCopy() 153 ASSERT(heightInBlocks <= 1 || bytesPerRow != wgpu::kCopyStrideUndefined); in ComputeRequiredBytesInCopy() 154 uint64_t bytesInLastImage = Safe32x32(bytesPerRow, heightInBlocks - 1) + bytesInLastRow; in ComputeRequiredBytesInCopy() 179 uint32_t heightInBlocks = copyExtent.height / blockInfo.height; in ApplyDefaultTextureDataLayoutOptions() local 186 ASSERT(heightInBlocks <= 1 && copyExtent.depthOrArrayLayers <= 1); in ApplyDefaultTextureDataLayoutOptions() 191 layout->rowsPerImage = heightInBlocks; in ApplyDefaultTextureDataLayoutOptions() 200 uint32_t heightInBlocks = copyExtent.height / blockInfo.height; in ValidateLinearTextureData() local 211 DAWN_INVALID_IF(heightInBlocks > 1 && layout.bytesPerRow == wgpu::kCopyStrideUndefined, in ValidateLinearTextureData() 213 heightInBlocks); in ValidateLinearTextureData() [all …]
|
D | CommandBuffer.cpp | 191 const uint64_t heightInBlocks = copy->copySize.height / blockInfo.height; in IsFullBufferOverwrittenInTextureToBufferCopy() local 193 const bool multiRow = multiSlice || heightInBlocks > 1; in IsFullBufferOverwrittenInTextureToBufferCopy() 195 if (multiSlice && copy->destination.rowsPerImage > heightInBlocks) { in IsFullBufferOverwrittenInTextureToBufferCopy()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
D | TestUtils.cpp | 85 uint32_t heightInBlocks = copyExtent.height / blockHeight; in RequiredBytesInCopy() local 86 return RequiredBytesInCopy(bytesPerRow, rowsPerImage, widthInBlocks, heightInBlocks, in RequiredBytesInCopy() 93 uint64_t heightInBlocks, in RequiredBytesInCopy() argument 102 if (heightInBlocks != 0) { in RequiredBytesInCopy() 104 uint64_t lastImageBytes = bytesPerRow * (heightInBlocks - 1) + lastRowBytes; in RequiredBytesInCopy()
|
D | TestUtils.h | 48 uint64_t heightInBlocks,
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.cpp | 485 deUint32 heightInBlocks = (size[1] + blockHeight - 1) / blockHeight; in getCompressedImageResolutionInBlocks() local 487 return tcu::UVec3(widthInBlocks, heightInBlocks, 1); in getCompressedImageResolutionInBlocks() 499 deUint32 heightInBlocks = (size[1] + blockHeight - 1) / blockHeight; 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/ |
D | CopySplitTests.cpp | 69 uint32_t heightInBlocks = textureSpec.height / textureSpec.blockHeight; in ValidateFootprints() local 73 widthInBlocks, heightInBlocks, in ValidateFootprints()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | CommandBufferVk.cpp | 452 uint32_t heightInBlocks = copySize.height / blockInfo.height; in RecordCopyImageWithTemporaryBuffer() local 457 widthInBlocks * heightInBlocks * copySize.depthOrArrayLayers * blockInfo.byteSize; in RecordCopyImageWithTemporaryBuffer() 469 tempBufferCopy.rowsPerImage = heightInBlocks; in RecordCopyImageWithTemporaryBuffer()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | CommandBufferD3D12.cpp | 197 uint32_t heightInBlocks = copySize.height / blockInfo.height; in RecordCopyTextureWithTemporaryBuffer() local 202 uint32_t rowsPerImage = heightInBlocks; in RecordCopyTextureWithTemporaryBuffer()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | CopyTests.cpp | 112 uint32_t heightInBlocks, in CopyTextureData() argument 122 for (unsigned int y = 0; y < heightInBlocks; ++y) { in CopyTextureData()
|