Home
last modified time | relevance | path

Searched refs:heightInBlocks (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandValidation.cpp120 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 …]
DCommandBuffer.cpp191 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/
DTestUtils.cpp85 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()
DTestUtils.h48 uint64_t heightInBlocks,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp485 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/
DCopySplitTests.cpp69 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/
DCommandBufferVk.cpp452 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/
DCommandBufferD3D12.cpp197 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/
DCopyTests.cpp112 uint32_t heightInBlocks, in CopyTextureData() argument
122 for (unsigned int y = 0; y < heightInBlocks; ++y) { in CopyTextureData()