Skip to content

Chrome 146 WebGPU texture transient_attachment usage#29470

Open
chrisdavidmills wants to merge 6 commits intomdn:mainfrom
chrisdavidmills:transient_attachment
Open

Chrome 146 WebGPU texture transient_attachment usage#29470
chrisdavidmills wants to merge 6 commits intomdn:mainfrom
chrisdavidmills:transient_attachment

Conversation

@chrisdavidmills
Copy link
Copy Markdown
Contributor

@chrisdavidmills chrisdavidmills commented Apr 13, 2026

Summary

Chrome 146 adds support for the TRANSIENT_ATTACHMENT GPUTextureUsage; see https://chromestatus.com/feature/5562829589577728, and also see https://developer.chrome.com/blog/new-in-webgpu-146#transient_attachments.

This PR adds data points for the TRANSIENT_ATTACHMENT in the places in which it appears.

Test results and supporting details

Related issues

@github-actions github-actions Bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Apr 13, 2026
@chrisdavidmills chrisdavidmills requested a review from caugner April 13, 2026 15:45
@github-actions github-actions Bot added the size:l [PR only] 101-1000 LoC changed label Apr 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 13, 2026

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@chrisdavidmills chrisdavidmills changed the title Document transient_attachment usage Chrome 146 WebGPU texture transient_attachment usage Apr 13, 2026
Copy link
Copy Markdown
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

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

Initial review pass.

Comment thread api/GPUDevice.json Outdated
Comment thread api/GPUTexture.json Outdated
Comment thread api/GPUTexture.json Outdated
chrisdavidmills and others added 3 commits April 20, 2026 12:28
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
@chrisdavidmills chrisdavidmills requested a review from caugner April 20, 2026 11:29
Copy link
Copy Markdown
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

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

Second review pass.

Comment thread api/GPUDevice.json Outdated
}
}
},
"usage_transient_attachment": {
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.

Should there be an intermediate descriptor_usage_parameter feature similar to api.GPUTexture.createView, assuming there are other values that were supported before?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think this makes sense. Added.

Comment thread api/GPUDevice.json Outdated
},
"usage_transient_attachment": {
"__compat": {
"description": "`transient_attachment` usage",
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.

Maybe:

Suggested change
"description": "`transient_attachment` usage",
"description": "`usage` descriptor accepts transient attachment",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated

Comment thread api/GPUTexture.json Outdated
},
"transient_attachment": {
"__compat": {
"description": "`transient_attachment` value",
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.

Maybe:

Suggested change
"description": "`transient_attachment` value",
"description": "transient attachment usage",

or

Suggested change
"description": "`transient_attachment` value",
"description": "`TRANSIENT_ATTACHMENT` value",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I went with the second one.

Comment thread api/GPUTexture.json Outdated
},
"transient_attachment": {
"__compat": {
"description": "`transient_attachment` value",
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.

dito

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ditto; updated

@chrisdavidmills chrisdavidmills requested a review from caugner April 27, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:l [PR only] 101-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants