Skip to content

timestamp-query is unimplementable on TBDR architectures - #2190

Merged
litherum merged 3 commits into
gpuweb:mainfrom
litherum:writetimestamp
Oct 22, 2021
Merged

litherum merged 3 commits into
gpuweb:mainfrom
litherum:writetimestamp

Conversation

@litherum

@litherum litherum commented Oct 16, 2021 •

Copy link
Copy Markdown
Contributor

There are 2 patches in this pull request:

  1. The first half of timestamp-query is unimplementable on TBDR architectures #2046 (comment). This patch removes GPUComputePassEncoder/writeTimestamp() and GPURenderPassEncoder/writeTimestamp(), but leaves in GPUCommandEncoder/writeTimestamp().
  2. The second half of timestamp-query is unimplementable on TBDR architectures #2046 (comment). This patch adds in the changes described in timestamp-query is unimplementable on TBDR architectures #2046 (comment).

Fixes #2046.


Preview | Diff

@github-actions

Copy link
Copy Markdown
Contributor

Previews, as seen when this build job started (3784bb8):
WebGPU | IDL
WGSL
Explainer

@litherum litherum changed the title Part 1 of timestamp-query changes timestamp-query changes Oct 16, 2021
@github-actions

Copy link
Copy Markdown
Contributor

Previews, as seen when this build job started (dd5709c):
WebGPU | IDL
WGSL
Explainer

@litherum litherum changed the title timestamp-query changes timestamp-query is unimplementable on TBDR architectures Oct 16, 2021
Comment thread spec/index.bs Outdated
};

dictionary GPUComputePassDescriptor : GPUObjectDescriptorBase {
sequence<GPUComputePassTimestampAttachment> timestampAttachments = [];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: GPUComputePassTimestampWrites timestampWrites?

@Kangz Kangz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM based on consensus from a couple weeks ago.

This is the first half of
gpuweb#2046 (comment).
This patch removes GPUComputePassEncoder/writeTimestamp() and
GPURenderPassEncoder/writeTimestamp(), but leaves in
GPUCommandEncoder/writeTimestamp().

The second half will be to add in the changes described in
gpuweb#2046 (comment).
This is the second half of
gpuweb#2046 (comment).

This patch adds in the changes described in
gpuweb#2046 (comment).

Fixes gpuweb#2046.
Rename TimestampAttachment to TimestampWrite as per gpuweb#2190 (comment).
@litherum

litherum commented Oct 22, 2021 •

Copy link
Copy Markdown
Contributor Author

(The new changes are a rebase, and addressing @Kangz's comment above.)

@github-actions

Copy link
Copy Markdown
Contributor

Previews, as seen when this build job started (05a21f1):
WebGPU | IDL
WGSL
Explainer

@litherum
litherum merged commit b374906 into gpuweb:main Oct 22, 2021
@litherum
litherum deleted the writetimestamp branch October 22, 2021 19:29

@kainino0x kainino0x left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

haoxli added a commit to haoxli/gpuweb that referenced this pull request Aug 25, 2022
The timestamp query inside passes are replaced by timestampWrites
on passes and removed from normative spec in gpuweb#2190. Move it to WebGPU
extension proposals and consider it later.
kainino0x pushed a commit that referenced this pull request Aug 26, 2022
The timestamp query inside passes are replaced by timestampWrites
on passes and removed from normative spec in #2190. Move it to WebGPU
extension proposals and consider it later.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

timestamp-query is unimplementable on TBDR architectures

3 participants