Skip to content

Commit e070e8e

Browse files
committed
roll dawn
1 parent e817b60 commit e070e8e

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

test/test_browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4471,7 +4471,7 @@ def test_webgpu_basic_rendering(self, args):
44714471

44724472
@requires_webgpu
44734473
def test_webgpu_required_limits(self):
4474-
self.set_setting('NO_DEFAULT_TO_CXX', 0) # emdawnwebgpu uses C++ internally
4474+
self.set_setting('DEFAULT_TO_CXX') # emdawnwebgpu uses C++ internally
44754475
self.btest_exit('webgpu_required_limits.c', cflags=['--use-port=emdawnwebgpu', '-sEXIT_RUNTIME'])
44764476

44774477
# Tests the feature that shell html page can preallocate the typed array and place it

test/test_other.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9588,7 +9588,7 @@ def test_closure_webgpu(self):
95889588
if config.FROZEN_CACHE:
95899589
# TODO(crbug.com/446944885): Make Emdawnwebgpu work with FROZEN_CACHE if possible.
95909590
self.skipTest("test doesn't work with frozen cache")
9591-
self.set_setting('NO_DEFAULT_TO_CXX', 0) # emdawnwebgpu uses C++ internally
9591+
self.set_setting('DEFAULT_TO_CXX') # emdawnwebgpu uses C++ internally
95929592
self.build('hello_world.c', cflags=[
95939593
'--closure=1',
95949594
'-Werror=closure',

tools/ports/emdawnwebgpu.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# University of Illinois/NCSA Open Source License. Both these licenses can be
44
# found in the LICENSE file.
55

6-
# https://dawn.googlesource.com/dawn/+/faa7054b5b65c3ce3774151952a68aa7668aa20b/src/emdawnwebgpu/pkg/README.md
6+
# https://dawn.googlesource.com/dawn/+/01940842b667a7812d0e4ca0ef4367fbec294241/src/emdawnwebgpu/pkg/README.md
77
r"""
88
This "remote port" instructs Emscripten (4.0.10+) how to automatically download
99
the actual port for Emdawnwebgpu. See README below for instructions.
@@ -150,14 +150,14 @@
150150
print('Please see documentation inside this file for details on how to use this port.')
151151
sys.exit(1)
152152

153-
_VERSION = 'v20250926.144300'
153+
_VERSION = 'v20251002.162335'
154154

155155
# Remote-specific port information
156156

157157
# - Where to download the port
158158
EXTERNAL_PORT = f'https://github.com/google/dawn/releases/download/{_VERSION}/emdawnwebgpu_pkg-{_VERSION}.zip'
159159
# - Hash to verify the download integrity
160-
SHA512 = 'a186cf7f33266c9dfeca7d99ffac769a91b2129e34054f1e857cd82e8b033896da34cf758088bbdeeb128aa713df9953851f83ba6d677c438a929d245a789948'
160+
SHA512 = 'ed15672c2c495a77c764929e6979f4e155bf8b9c46dee5b0f234f3208a708bc2b846d89eef345b725d03454b56d549531f48fc84ff2afe7627d14115893b0fb0'
161161
# - Path of the port inside the zip file
162162
PORT_FILE = 'emdawnwebgpu_pkg/emdawnwebgpu.port.py'
163163

@@ -168,13 +168,14 @@
168168

169169
# - Visible in emcc --use-port=emdawnwebgpu:help
170170
DESCRIPTION = "Emdawnwebgpu implements webgpu.h on WebGPU, replacing -sUSE_WEBGPU. **For info on usage and filing feedback, see link below.**"
171-
URL = 'https://dawn.googlesource.com/dawn/+/faa7054b5b65c3ce3774151952a68aa7668aa20b/src/emdawnwebgpu/pkg/README.md'
171+
URL = 'https://dawn.googlesource.com/dawn/+/01940842b667a7812d0e4ca0ef4367fbec294241/src/emdawnwebgpu/pkg/README.md'
172172

173173

174174
# Emscripten <4.0.10 won't notice EXTERNAL_PORT and will try to use this.
175175
def get(ports, settings, shared):
176176
raise Exception('Remote ports require Emscripten 4.0.10+.')
177177

178178

179+
# (Make this look like a port so that the error message above can be hit.)
179180
def clear(ports, settings, shared):
180181
pass

0 commit comments

Comments
 (0)