Skip to content

Commit

Permalink
Fix result type in occlusion query (gpuweb#4447)
Browse files Browse the repository at this point in the history
Add missing resolve method and result type in occlusion query section.

Issue: gpuweb#4427
  • Loading branch information
haoxli authored Jan 8, 2024
1 parent 21eff45 commit 8dd914e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -13126,7 +13126,8 @@ that no samples passed the tests.
When beginning a render pass, {{GPURenderPassDescriptor}}.{{GPURenderPassDescriptor/occlusionQuerySet}}
must be set to be able to use occlusion queries during the pass. An occlusion query is begun
and ended by calling {{GPURenderPassEncoder/beginOcclusionQuery()}} and
{{GPURenderPassEncoder/endOcclusionQuery()}} in pairs that cannot be nested.
{{GPURenderPassEncoder/endOcclusionQuery()}} in pairs that cannot be nested, and resolved into a
{{GPUBuffer}} as 64-bit unsigned integer by {{GPUCommandEncoder}}.{{GPUCommandEncoder/resolveQuerySet()}}.

## Timestamp Query ## {#timestamp}

Expand Down

0 comments on commit 8dd914e

Please sign in to comment.