Skip to content

Commit

Permalink
Run grunt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
toji committed Oct 23, 2023
1 parent 378650f commit 974437a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/webgpu/api/operation/command_buffer/image_copy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1089,11 +1089,12 @@ class ImageCopyTest extends TextureTestMixin(GPUTest) {
// Check the valid data in outputStagingBuffer once per row.
for (let y = 0; y < copyFromOutputTextureLayout.mipSize[1]; ++y) {
const rowOffset = expectedStencilTextureDataBytesPerRow * y;
const dataStart = expectedStencilTextureDataOffset +
expectedStencilTextureDataBytesPerRow *
expectedStencilTextureDataRowsPerImage *
stencilTextureLayer +
rowOffset;
const dataStart =
expectedStencilTextureDataOffset +
expectedStencilTextureDataBytesPerRow *
expectedStencilTextureDataRowsPerImage *
stencilTextureLayer +
rowOffset;
this.expectGPUBufferValuesEqual(
outputStagingBuffer,
expectedStencilTextureData.slice(
Expand Down

0 comments on commit 974437a

Please sign in to comment.