/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webgpu-cts/src/src/webgpu/util/texture/ |
H A D | layout.ts | 11 rowsPerImage?: number; property 40 rowsPerImage: number; property 51 let { bytesPerRow, rowsPerImage } = options; 70 if (rowsPerImage !== undefined) { 71 assert(rowsPerImage >= mipSize[1]); 73 rowsPerImage = mipSize[1]; 76 assert(isAligned(rowsPerImage, blockHeight)); 77 const bytesPerSlice = bytesPerRow * (rowsPerImage / blockHeight); 87 rowsPerImage, 137 rowsPerImage: number; [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/utils/ |
H A D | TestUtils.cpp | 36 uint32_t rowsPerImage) { in GetTextureDataCopyLayoutForTexture2DAtLevel() argument 47 if (rowsPerImage == wgpu::kStrideUndefined) { in GetTextureDataCopyLayoutForTexture2DAtLevel() 48 rowsPerImage = layout.mipSize.height; in GetTextureDataCopyLayoutForTexture2DAtLevel() 50 layout.rowsPerImage = rowsPerImage; in GetTextureDataCopyLayoutForTexture2DAtLevel() 52 layout.bytesPerImage = layout.bytesPerRow * rowsPerImage; in GetTextureDataCopyLayoutForTexture2DAtLevel() 61 rowsPerImage * utils::GetTextureFormatBlockHeight(format); in GetTextureDataCopyLayoutForTexture2DAtLevel() 63 layout.byteLength = RequiredBytesInCopy(layout.bytesPerRow, rowsPerImage, in GetTextureDataCopyLayoutForTexture2DAtLevel() 75 uint64_t rowsPerImage, in RequiredBytesInCopy() argument 90 uint64_t rowsPerImage, in RequiredBytesInCopy() argument 99 uint64_t bytesPerImage = bytesPerRow * rowsPerImage; in RequiredBytesInCopy() [all …]
|
H A D | TestUtils.h | 26 uint32_t rowsPerImage; member 38 uint32_t rowsPerImage = wgpu::kStrideUndefined); 41 uint64_t rowsPerImage, 45 uint64_t rowsPerImage, 52 uint64_t rowsPerImage,
|
H A D | WGPUHelpers.cpp | 274 uint32_t rowsPerImage) { in CreateBufferCopyView() argument 277 bufferCopyView.layout = CreateTextureDataLayout(offset, bytesPerRow, rowsPerImage); in CreateBufferCopyView() 297 uint32_t rowsPerImage) { in CreateTextureDataLayout() argument 301 textureDataLayout.rowsPerImage = rowsPerImage; in CreateTextureDataLayout()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webgpu-cts/src/src/webgpu/api/operation/ |
H A D | copyBetweenLinearDataAndTexture.spec.ts | 183 if (rowsPerImage === 0) { 272 rowsPerImage, 311 rowsPerImage, 442 { bytesPerRow, rowsPerImage }: { bytesPerRow: number; rowsPerImage: number }, 1025 rowsPerImage: 0, 1032 rowsPerImage: 0, 1039 rowsPerImage: 0, 1046 rowsPerImage: 2, 1053 rowsPerImage: 0, 1060 rowsPerImage: 0, [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webgpu-cts/src/src/webgpu/api/validation/copy_between_linear_data_and_texture/ |
H A D | copyBetweenLinearDataAndTexture_dataRelated.spec.ts | 49 if (rowsPerImage < copyHeight) { 50 success &&= rowsPerImage === 0; 56 { bytesPerRow: 1024, rowsPerImage }, 73 const { method, bytesPerRow, rowsPerImage, depth, _success } = t.params; constant 83 { bytesPerRow, rowsPerImage }, 142 const rowsPerImage = copyHeight + rowsPerImagePaddingInBlocks * info.blockHeight; constant 153 t.testRun({ texture }, { offset, bytesPerRow, rowsPerImage }, size, { 160 t.testRun({ texture }, { offset, bytesPerRow, rowsPerImage }, size, { 177 const { rowsPerImage, format, method } = t.params; constant 184 t.testRun({ texture }, { bytesPerRow: 0, rowsPerImage }, size, { [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/dawn_native/d3d12/ |
H A D | TextureCopySplitter.cpp | 45 uint32_t rowsPerImage) { in ComputeTextureCopySplit() argument 74 uint32_t slicePitch = bytesPerRow * rowsPerImage; in ComputeTextureCopySplit() 80 uint32_t rowsPerImageInTexels = rowsPerImage * blockInfo.height; in ComputeTextureCopySplit() 192 uint32_t rowsPerImage) { in ComputeTextureCopySplits() argument 195 const uint64_t bytesPerSlice = bytesPerRow * rowsPerImage; in ComputeTextureCopySplits() 212 blockInfo, offset, bytesPerRow, rowsPerImage); in ComputeTextureCopySplits() 227 bufferOffsetNextLayer, bytesPerRow, rowsPerImage); in ComputeTextureCopySplits()
|
H A D | TextureCopySplitter.h | 57 uint32_t rowsPerImage); 64 uint32_t rowsPerImage);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/dawn_native/ |
H A D | CommandValidation.cpp | 394 uint32_t rowsPerImage) { in ComputeRequiredBytesInCopy() argument 421 (bytesPerRow != wgpu::kStrideUndefined && rowsPerImage != wgpu::kStrideUndefined)); in ComputeRequiredBytesInCopy() 422 uint64_t bytesPerImage = Safe32x32(bytesPerRow, rowsPerImage); in ComputeRequiredBytesInCopy() 456 if (copyExtent.height != 0 && layout.rowsPerImage == 0) { in FixUpDeprecatedTextureDataLayoutOptions() 463 layout.rowsPerImage = heightInBlocks; in FixUpDeprecatedTextureDataLayoutOptions() 468 layout.rowsPerImage = wgpu::kStrideUndefined; in FixUpDeprecatedTextureDataLayoutOptions() 503 if (layout->rowsPerImage == wgpu::kStrideUndefined) { in ApplyDefaultTextureDataLayoutOptions() 505 layout->rowsPerImage = heightInBlocks; in ApplyDefaultTextureDataLayoutOptions() 517 layout.rowsPerImage == wgpu::kStrideUndefined)) { in ValidateLinearTextureData() 537 if (layout.rowsPerImage != wgpu::kStrideUndefined && heightInBlocks > layout.rowsPerImage) { in ValidateLinearTextureData() [all …]
|
H A D | CommandValidation.h | 52 uint32_t rowsPerImage); 78 uint32_t rowsPerImage,
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 193 rowsPerImage = imageHeight; in __glFillImage() 196 rowsPerImage = height; in __glFillImage() 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 419 rowsPerImage = imageHeight; in __glEmptyImage() 422 rowsPerImage = height; in __glEmptyImage() 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
|
/dports/lang/clover/mesa-21.3.6/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 193 rowsPerImage = imageHeight; in __glFillImage() 196 rowsPerImage = height; in __glFillImage() 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 419 rowsPerImage = imageHeight; in __glEmptyImage() 422 rowsPerImage = height; in __glEmptyImage() 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
|
/dports/graphics/libosmesa/mesa-21.3.6/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 193 rowsPerImage = imageHeight; in __glFillImage() 196 rowsPerImage = height; in __glFillImage() 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 419 rowsPerImage = imageHeight; in __glEmptyImage() 422 rowsPerImage = height; in __glEmptyImage() 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 193 rowsPerImage = imageHeight; in __glFillImage() 196 rowsPerImage = height; in __glFillImage() 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 419 rowsPerImage = imageHeight; in __glEmptyImage() 422 rowsPerImage = height; in __glEmptyImage() 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 193 rowsPerImage = imageHeight; in __glFillImage() 196 rowsPerImage = height; in __glFillImage() 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 419 rowsPerImage = imageHeight; in __glEmptyImage() 422 rowsPerImage = height; in __glEmptyImage() 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 193 rowsPerImage = imageHeight; in __glFillImage() 196 rowsPerImage = height; in __glFillImage() 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 419 rowsPerImage = imageHeight; in __glEmptyImage() 422 rowsPerImage = height; in __glEmptyImage() 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 193 rowsPerImage = imageHeight; in __glFillImage() 196 rowsPerImage = height; in __glFillImage() 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 419 rowsPerImage = imageHeight; in __glEmptyImage() 422 rowsPerImage = height; in __glEmptyImage() 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
|
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 193 rowsPerImage = imageHeight; in __glFillImage() 196 rowsPerImage = height; in __glFillImage() 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 419 rowsPerImage = imageHeight; in __glEmptyImage() 422 rowsPerImage = height; in __glEmptyImage() 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 193 rowsPerImage = imageHeight; in __glFillImage() 196 rowsPerImage = height; in __glFillImage() 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 419 rowsPerImage = imageHeight; in __glEmptyImage() 422 rowsPerImage = height; in __glEmptyImage() 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 193 rowsPerImage = imageHeight; in __glFillImage() 196 rowsPerImage = height; in __glFillImage() 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 419 rowsPerImage = imageHeight; in __glEmptyImage() 422 rowsPerImage = height; in __glEmptyImage() 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/glx/ |
H A D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 193 rowsPerImage = imageHeight; in __glFillImage() 196 rowsPerImage = height; in __glFillImage() 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 419 rowsPerImage = imageHeight; in __glEmptyImage() 422 rowsPerImage = height; in __glEmptyImage() 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/tests/end2end/ |
H A D | QueueTests.cpp | 219 uint32_t rowsPerImage; member 229 uint32_t rowsPerImage = writeSize.height; in MinimumDataSpec() local 231 rowsPerImage = overrideRowsPerImage; in MinimumDataSpec() 235 utils::RequiredBytesInCopy(bytesPerRow, rowsPerImage, writeSize, kTextureFormat); in MinimumDataSpec() 236 return {totalDataSize, 0, bytesPerRow, rowsPerImage}; in MinimumDataSpec() 279 dataSpec.offset, dataSpec.bytesPerRow, dataSpec.rowsPerImage); in DoTest() 297 dataSpec.rowsPerImage > 0 ? dataSpec.rowsPerImage : mipSize.height; in DoTest() 557 uint32_t rowsPerImage = 23; in TEST_P() local 558 DoTest(textureSpec, MinimumDataSpec(copyExtent, bytesPerRow, rowsPerImage), copyExtent); in TEST_P() 565 uint32_t rowsPerImage = 23; in TEST_P() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/webgpu/ |
H A D | dawn_conversions.cc | 878 uint32_t rowsPerImage = 0; in ValidateTextureDataLayout() local 880 rowsPerImage = webgpu_layout->rowsPerImage(); in ValidateTextureDataLayout() 881 if (rowsPerImage == WGPU_STRIDE_UNDEFINED) { in ValidateTextureDataLayout() 885 rowsPerImage = WGPU_STRIDE_UNDEFINED; in ValidateTextureDataLayout() 891 dawn_layout->rowsPerImage = rowsPerImage; in ValidateTextureDataLayout()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dawn/src/dawn_native/vulkan/ |
H A D | UtilsVulkan.cpp | 96 passDataLayout.rowsPerImage = bufferCopy.rowsPerImage; in ComputeBufferImageCopyRegion() 114 region.bufferImageHeight = dataLayout.rowsPerImage * blockInfo.height; in ComputeBufferImageCopyRegion()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webgpu-cts/src/src/webgpu/ |
H A D | gpu_test.ts | 278 const { byteLength, bytesPerRow, rowsPerImage, mipSize } = getTextureCopyLayout( constant 294 { buffer, bytesPerRow, rowsPerImage }, 319 const { byteLength, bytesPerRow, rowsPerImage, mipSize } = getTextureCopyLayout( constant 333 { buffer, bytesPerRow, rowsPerImage },
|