Skip to content

Commit

Permalink
Update kMaxQueryCount to 4096 (#2104)
Browse files Browse the repository at this point in the history
This number has been reduced from 8192 in the WebGPU spec.
  • Loading branch information
Kangz authored Jan 3, 2023
1 parent 030f44d commit 861b209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webgpu/capability_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 861b209

Please sign in to comment.