Skip to content

Commit 496224c

Browse files
greggmankainino0x
andcommitted
Update src/webgpu/gpu_test.ts
Co-authored-by: Kai Ninomiya <[email protected]>
1 parent 6f9a52d commit 496224c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webgpu/gpu_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ function getPipelineToRenderTextureToRGB8UnormTexture(
12601260
}
12611261

12621262
const { pipelineByPipelineType } = s_deviceToResourcesMap.get(device)!;
1263-
const pipelineType = isCompatibility && texture.depthOrArrayLayers > 1 ? '2d-array' : '2d';
1263+
const pipelineType: PipelineType = isCompatibility && texture.depthOrArrayLayers > 1 ? '2d-array' : '2d';
12641264
if (!pipelineByPipelineType.get(pipelineType)) {
12651265
const [textureType, layerCode] =
12661266
pipelineType === '2d' ? ['texture_2d', ''] : ['texture_2d_array', ', uni.baseArrayLayer'];

0 commit comments

Comments
 (0)