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/
H A DCommandValidation.cpp120 uint32_t heightInBlocks = copySize.height / blockInfo.height; in ComputeRequiredBytesInCopy() local
131 // heightInBlocks <= rowsPerImage in ComputeRequiredBytesInCopy()
135 // bytesInLastImage = bytesPerRow * (heightInBlocks - 1) + bytesInLastRow in ComputeRequiredBytesInCopy()
136 // <= bytesPerRow * heightInBlocks in ComputeRequiredBytesInCopy()
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; ValidateLinearTextureData() local
[all...]
H A 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/
H A 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()
102 if (heightInBlocks != 0) { in RequiredBytesInCopy()
104 uint64_t lastImageBytes = bytesPerRow * (heightInBlocks - 1) + lastRowBytes; 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.h48 uint64_t heightInBlocks,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageTestsUtil.cpp448 deUint32 heightInBlocks = (size[1] + blockHeight - 1) / blockHeight; in getCompressedImageResolutionInBlocks() local
450 return tcu::UVec3(widthInBlocks, heightInBlocks, 1); in getCompressedImageResolutionInBlocks()
462 deUint32 heightInBlocks = (size[1] + blockHeight - 1) / blockHeight; 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.cpp448 deUint32 heightInBlocks = (size[1] + blockHeight - 1) / blockHeight; in getCompressedImageResolutionInBlocks() local
450 return tcu::UVec3(widthInBlocks, heightInBlocks, 1); in getCompressedImageResolutionInBlocks()
462 deUint32 heightInBlocks = (size[1] + blockHeight - 1) / blockHeight; 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.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/
H A 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/
H A DCommandBufferD3D12.cpp197 uint32_t heightInBlocks = copySize.height / blockInfo.height; local
202 uint32_t rowsPerImage = heightInBlocks;

Completed in 10 milliseconds