FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use texture shorthands instead of view when possible by beaufortfrancois · Pull Request #521 · webgpu/webgpu-samples · GitHub

Use texture shorthands instead of view when possible - #521

Draft
beaufortfrancois wants to merge 1 commit into
webgpu:mainfrom
beaufortfrancois:remove-textureview
Draft

Use texture shorthands instead of view when possible#521
beaufortfrancois wants to merge 1 commit into
webgpu:mainfrom
beaufortfrancois:remove-textureview

Conversation

beaufortfrancois commented Jul 10, 2025
edited
Loading

Copy link
Copy Markdown
Collaborator

Spec PR: gpuweb/gpuweb#5228

Note that support is available only in Chrome Canary for now.

greggman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm - I assume you'll wait to merge until the other browsers support this?

Kangz commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

Firefox nightly seems to support this as there is no warning in webgpureport.org (which checks for it as far as I can tell from the source code). Does Safari also support it? If it does then we should merge this PR.

greggman commented Jan 21, 2026
edited
Loading

Copy link
Copy Markdown
Member

I am wondering if we should add a check to the main page that tests it and puts up a message "...upgrade your browser...". (in another PR)

greggman commented Feb 4, 2026

Copy link
Copy Markdown
Member

FYI, Safari does not support using a canvas texture as a color target if you don't call createView() as of Safari 26.2 so we can't merge this yet

kainino0x marked this pull request as draft February 4, 2026 21:04

Kangz commented May 12, 2026

Copy link
Copy Markdown
Contributor

@mwyrzykowski does Safari support using textures instead of views, including for the canvas texture now?

Copy link
Copy Markdown
Contributor

@mwyrzykowski does Safari support using textures instead of views, including for the canvas texture now?

It does except resolve textures as @greggman noticed https://bugs.webkit.org/show_bug.cgi?id=313159

The resolve path is corrected too but only in Safari Technology Preview 243 and later

Kangz commented May 13, 2026

Copy link
Copy Markdown
Contributor

Thanks for the confirmation! Hopefully it makes it in the next stable Safari release!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

4 participants


Back | FazBrowse Home | New Git URL