这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@kainino0x
Copy link
Contributor

@kainino0x kainino0x commented Aug 6, 2019

These defaults seem reasonable and unsurprising to me.

I feel like we must have discussed these already before, but it's really hard to find anything about it in our GitHub issues.


Preview | Diff

Copy link
Contributor

@kvark kvark left a comment

Choose a reason for hiding this comment

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

that's an improvement!

GPUTextureViewDimension dimension;
GPUTextureAspect aspect = "all";
u32 baseMipLevel = 0;
u32 mipLevelCount = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should "default texture view" cover all the mipmap levels and the array layers instead of the first ones?

Copy link
Contributor

Choose a reason for hiding this comment

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

it absolutely should (great point!), if we are going this way
we could make the mipLevelCount=0 to have this special semantics here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree. Would you open another PR for this?

Copy link
Contributor

Choose a reason for hiding this comment

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

Done in #407 . PTAL, thanks!

@kainino0x
Copy link
Contributor Author

This has been open a while and I'm pretty confident that it's uncontroversial. Rerunning travis and merging.

@kainino0x kainino0x merged commit 3fb5374 into gpuweb:master Aug 22, 2019
@kainino0x kainino0x deleted the texture-view-defaults branch August 22, 2019 16:53
@kainino0x
Copy link
Contributor Author

(with #407, which I'm merging too)

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 23, 2019
gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 23, 2019
gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 23, 2019
gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
aarongable pushed a commit to chromium/chromium that referenced this pull request Aug 27, 2019
gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766765
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690746}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 27, 2019
gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766765
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690746}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 27, 2019
gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766765
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690746}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Aug 29, 2019
…estonly

Automatic update from web-platform-tests
Remove GPUTexture.createDefaultView

gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766765
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690746}

--

wpt-commits: dc25cd389029b34cd368f326e59ac1810498524e
wpt-pr: 18624
xeonchen pushed a commit to xeonchen/gecko that referenced this pull request Aug 30, 2019
…estonly

Automatic update from web-platform-tests
Remove GPUTexture.createDefaultView

gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766765
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690746}

--

wpt-commits: dc25cd389029b34cd368f326e59ac1810498524e
wpt-pr: 18624
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 4, 2019
…estonly

Automatic update from web-platform-tests
Remove GPUTexture.createDefaultView

gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766765
Reviewed-by: Corentin Wallez <cwallezchromium.org>
Reviewed-by: Austin Eng <engachromium.org>
Commit-Queue: Kai Ninomiya <kaininochromium.org>
Cr-Commit-Position: refs/heads/master{#690746}

--

wpt-commits: dc25cd389029b34cd368f326e59ac1810498524e
wpt-pr: 18624

UltraBlame original commit: 46ce1c209c17ce99f3090d6dbe179e018424fea7
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 4, 2019
…estonly

Automatic update from web-platform-tests
Remove GPUTexture.createDefaultView

gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766765
Reviewed-by: Corentin Wallez <cwallezchromium.org>
Reviewed-by: Austin Eng <engachromium.org>
Commit-Queue: Kai Ninomiya <kaininochromium.org>
Cr-Commit-Position: refs/heads/master{#690746}

--

wpt-commits: dc25cd389029b34cd368f326e59ac1810498524e
wpt-pr: 18624

UltraBlame original commit: 46ce1c209c17ce99f3090d6dbe179e018424fea7
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 4, 2019
…estonly

Automatic update from web-platform-tests
Remove GPUTexture.createDefaultView

gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766765
Reviewed-by: Corentin Wallez <cwallezchromium.org>
Reviewed-by: Austin Eng <engachromium.org>
Commit-Queue: Kai Ninomiya <kaininochromium.org>
Cr-Commit-Position: refs/heads/master{#690746}

--

wpt-commits: dc25cd389029b34cd368f326e59ac1810498524e
wpt-pr: 18624

UltraBlame original commit: 46ce1c209c17ce99f3090d6dbe179e018424fea7
bhearsum pushed a commit to mozilla-releng/staging-firefox that referenced this pull request May 1, 2025
…estonly

Automatic update from web-platform-tests
Remove GPUTexture.createDefaultView

gpuweb/gpuweb#389

Bug: dawn:214
Change-Id: I4450e9abcc1f202b3107b2ed42f54626f896f874
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766765
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690746}

--

wpt-commits: dc25cd389029b34cd368f326e59ac1810498524e
wpt-pr: 18624
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