Skip to content

Commit dd94d9e

Browse files
authored
1 parent 9d2fd2f commit dd94d9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/dev/core/src/Engines/WebGPU/webgpuTextureManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ export class WebGPUTextureManager {
12351235
buffer: buffer,
12361236
offset: 0,
12371237
bytesPerRow,
1238-
rowsPerImage: height,
1238+
rowsPerImage: textureExtent.height / blockInformation.height,
12391239
},
12401240
textureCopyView,
12411241
textureExtent
@@ -1251,7 +1251,7 @@ export class WebGPUTextureManager {
12511251
{
12521252
offset: 0,
12531253
bytesPerRow,
1254-
rowsPerImage: height,
1254+
rowsPerImage: textureExtent.height / blockInformation.height,
12551255
},
12561256
textureExtent
12571257
);

0 commit comments

Comments
 (0)