Reland: Add a usage parameter to TextureView creation.
This allows views to use a subset of usages from the source texture's
usages and use formats that may not be compatible with all of the
source textures usages.
Roll third_party/gpuweb/ 2dc56f297..010f5c9dd (5 commits):
https://github.com/gpuweb/gpuweb/compare/2dc56f29788a...010f5c9ddfd2
Reland additions:
Only validate explicit view usage for now. Until it is possible to
request explicit usages from the WebGPU API, the RGBA8UnormSrgb and
BGRA8UnormSrgb would not be usable as view formats if the base
texture has StorageBinding usage. Remove the StorageBinding usage in
this case and emit a warning.
Bug: 363903526
Change-Id: Ia96991e239300a482bfa6a053397aaec7fab4e67
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/208335
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
diff --git a/DEPS b/DEPS
index 563b5ed..dd6cc46 100644
--- a/DEPS
+++ b/DEPS
@@ -375,7 +375,7 @@
'condition': 'dawn_node',
},
'third_party/gpuweb': {
- 'url': '{github_git}/gpuweb/gpuweb.git@2dc56f29788a2b8087ef0de87379c0b40a6f2dd5',
+ 'url': '{github_git}/gpuweb/gpuweb.git@010f5c9ddfd21bc963025979d08eb7489058c1c7',
'condition': 'dawn_node',
},