Skip to content

Specify copyTextureToTexture format compatibility#2329

Merged
kvark merged 2 commits intogpuweb:mainfrom
kainino0x:copy-compatible
Nov 23, 2021
Merged

Specify copyTextureToTexture format compatibility#2329
kvark merged 2 commits intogpuweb:mainfrom
kainino0x:copy-compatible

Conversation

@kainino0x
Copy link
Copy Markdown
Contributor

@kainino0x kainino0x commented Nov 19, 2021

Specify that copyTextureToTexture is only valid between equal formats,
or if the formats diffen only in whether they have -srgb.

Clean up a few bits of text regarding depth/stencil formats.
Add the optional-feature depth/stencil formats to the format table.

Fixes #2322
Fixes #1464


Preview | Diff

Specify that copyTextureToTexture is only valid between equal formats,
or if the formats diffen only in whether they have `-srgb`.

Clean up a few bits of text regarding depth/stencil formats.
Add the optional-feature depth/stencil formats to the format table.

Fixes gpuweb#2322
Fixes gpuweb#1464
@github-actions
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown
Contributor

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

@kvark kvark merged commit 84dd9a0 into gpuweb:main Nov 23, 2021
github-actions bot added a commit that referenced this pull request Nov 23, 2021
SHA: 84dd9a0
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Nov 23, 2021
SHA: 84dd9a0
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Nov 23, 2021
SHA: 84dd9a0
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@kainino0x kainino0x deleted the copy-compatible branch November 23, 2021 22:11
kainino0x added a commit to kainino0x/gpuweb that referenced this pull request Nov 24, 2021
kainino0x added a commit to kainino0x/gpuweb that referenced this pull request Nov 24, 2021
kvark pushed a commit that referenced this pull request Dec 2, 2021
* Copyedit depth/stencil format wording and related bits

Fixes #1479 (which was mostly already fixed by #2329).

* fix typos

* be more specific
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.

Allow format changes in copyTextureToTexture Contradictions in the validation rules of copyTextureToTexture() with depth stencil formats

3 participants