Use texture shorthands instead of view when possible#521
Use texture shorthands instead of view when possible#521beaufortfrancois wants to merge 1 commit into
Conversation
greggman
left a comment
There was a problem hiding this comment.
lgtm - I assume you'll wait to merge until the other browsers support this?
|
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. |
|
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) |
|
FYI, Safari does not support using a canvas texture as a color target if you don't call |
|
@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 |
|
Thanks for the confirmation! Hopefully it makes it in the next stable Safari release! |
Spec PR: gpuweb/gpuweb#5228
Note that support is available only in Chrome Canary for now.