Roll third_party/gpuweb/ 1000c3b25..a6805d529 (13 commits)
dawn/node: Implement entryPoint defaulting
dawn/node: Move GPUCommandEncoder.writeTimestamp to DawnExtensions
https://github.com/gpuweb/gpuweb/compare/1000c3b256b0...a6805d5298c6
$ git log 1000c3b25..a6805d529 --date=short --no-merges --format='%ad %ae %s'
2023-11-23 dneto Deploying to gh-pages from @ gpuweb/gpuweb@d2dea7f485531b9b225bee0772dcae8c9e44248f π
2023-11-20 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@86d0a94515b4eb18714e9d4f2e2a9a3dcb2154b0 π
2023-11-20 elsenorblanco Deploying to gh-pages from @ gpuweb/gpuweb@ed06d594246e23b97a204acfe8096dce74c6dcd3 π
2023-11-20 alanbaker Deploying to gh-pages from @ gpuweb/gpuweb@1b0ca0b1c09633f2c5291f56da17e41762056406 π
2023-11-20 alanbaker Deploying to gh-pages from @ gpuweb/gpuweb@82b13f458fa6ee3f73c46a33c0e8bab0d56a78df π
2023-11-15 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@56a0db1669c7e4fe1d45e476e7800e4953f04bf9 π
2023-11-15 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@059d0fb041325234752de3e3d47642c01ee7253a π
2023-11-14 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@ed9eefe344269c33416fdd59fd48c936b198c9d6 π
2023-11-14 corentin Deploying to gh-pages from @ gpuweb/gpuweb@e06bb08e15ea2e2b846eaeb4fc2082e0ffebe8dc π
2023-11-10 elsenorblanco Deploying to gh-pages from @ gpuweb/gpuweb@3e3e21aa55fdc769586e15d5aa9e1eda6ce60a91 π
2023-11-09 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@6402899da70eed1379ec002e37d7e6e2273d09f9 π
2023-11-08 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@ad2ae0a710dab10aa07670e91d08f2284f7e383e π
2023-11-07 kainino1 Deploying to gh-pages from @ gpuweb/gpuweb@1d28e76791bef66966f01bdf08f56bf204405d44 π
Created with:
roll-dep third_party/gpuweb --roll-to origin/gh-pages
Change-Id: I1fff5a02b576f9dd56a880b4fb98390fdce6d69d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/162542
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Fr <beaufort.francois@gmail.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/DEPS b/DEPS
index cad5741..0e65c82 100644
--- a/DEPS
+++ b/DEPS
@@ -230,7 +230,7 @@
'condition': 'dawn_node',
},
'third_party/gpuweb': {
- 'url': '{github_git}/gpuweb/gpuweb.git@1000c3b256b04988f7d747bb7689d03ad9417a1d',
+ 'url': '{github_git}/gpuweb/gpuweb.git@a6805d5298c6979392768ed13f442e35b9a35b22',
'condition': 'dawn_node',
},
diff --git a/src/dawn/node/binding/Converter.cpp b/src/dawn/node/binding/Converter.cpp
index 50e9b26..1a5a1a7 100644
--- a/src/dawn/node/binding/Converter.cpp
+++ b/src/dawn/node/binding/Converter.cpp
@@ -772,7 +772,7 @@
// Replace nulls in the entryPoint name with another character that's disallowed in WGSL
// identifiers. This is so that using "main\0" doesn't match an entryPoint named "main".
- out.entryPoint = ConvertStringReplacingNull(in.entryPoint);
+ out.entryPoint = in.entryPoint ? ConvertStringReplacingNull(in.entryPoint.value()) : nullptr;
return Convert(out.constants, out.constantCount, in.constants);
}
@@ -918,7 +918,7 @@
// Replace nulls in the entryPoint name with another character that's disallowed in WGSL
// identifiers. This is so that using "main\0" doesn't match an entryPoint named "main".
- out.entryPoint = ConvertStringReplacingNull(in.entryPoint);
+ out.entryPoint = in.entryPoint ? ConvertStringReplacingNull(in.entryPoint.value()) : nullptr;
return Convert(out.targets, out.targetCount, in.targets) && //
Convert(out.module, in.module) && //
@@ -1067,7 +1067,7 @@
// Replace nulls in the entryPoint name with another character that's disallowed in WGSL
// identifiers. This is so that using "main\0" doesn't match an entryPoint named "main".
- out.entryPoint = ConvertStringReplacingNull(in.entryPoint);
+ out.entryPoint = in.entryPoint ? ConvertStringReplacingNull(in.entryPoint.value()) : nullptr;
wgpu::VertexBufferLayout* outBuffers = nullptr;
if (!Convert(out.module, in.module) || //
diff --git a/src/dawn/node/interop/DawnExtensions.idl b/src/dawn/node/interop/DawnExtensions.idl
index 7245914..9b65802 100644
--- a/src/dawn/node/interop/DawnExtensions.idl
+++ b/src/dawn/node/interop/DawnExtensions.idl
@@ -40,3 +40,7 @@
interface GPUAdapter {
readonly attribute boolean isCompatibilityMode;
};
+
+interface GPUCommandEncoder {
+ undefined writeTimestamp(GPUQuerySet querySet, GPUSize32 queryIndex);
+};
diff --git a/third_party/gpuweb b/third_party/gpuweb
index 1000c3b..a6805d5 160000
--- a/third_party/gpuweb
+++ b/third_party/gpuweb
@@ -1 +1 @@
-Subproject commit 1000c3b256b04988f7d747bb7689d03ad9417a1d
+Subproject commit a6805d5298c6979392768ed13f442e35b9a35b22