From 861b209779ea94d2225d5630d00f8b9bdd203eaf Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Tue, 3 Jan 2023 17:59:29 +0100 Subject: [PATCH] Update kMaxQueryCount to 4096 (#2104) This number has been reduced from 8192 in the WebGPU spec. --- src/webgpu/capability_info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgpu/capability_info.ts b/src/webgpu/capability_info.ts index 83508db0efb9..08d6a5a45c15 100644 --- a/src/webgpu/capability_info.ts +++ b/src/webgpu/capability_info.ts @@ -15,7 +15,7 @@ import { ImageCopyType } from './util/texture/layout.js'; // Queries /** Maximum number of queries in GPUQuerySet, by spec. */ -export const kMaxQueryCount = 8192; +export const kMaxQueryCount = 4096; /** Per-GPUQueryType info. */ export type QueryTypeInfo = { /** Optional feature required to use this GPUQueryType. */