Skip to content

Commit 199e481

Browse files
authored
Remove experimental, unused WebGPU impl (#3884)
* Remove experimental, unused WebGPU impl * Update types after removing Webgpu API
1 parent bb2e176 commit 199e481

File tree

97 files changed

+13
-17963
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+13
-17963
lines changed

.bazelrc

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ import %workspace%/build/ci.bazelrc
3131

3232
import %workspace%/build/lint.bazelrc
3333

34-
# Enable webgpu
35-
build --//src/workerd/io:enable_experimental_webgpu=True
36-
3734
# Avoid generating duplicate runfile trees. This will become the default in a future bazel version.
3835
build --nolegacy_external_runfiles
3936

@@ -43,24 +40,11 @@ build --incompatible_disallow_empty_glob
4340
# Prevents bazel cache invalidation when switching terminals
4441
build --incompatible_strict_action_env
4542

46-
# Dawn tint build flags
47-
build --@dawn//src/tint:tint_build_glsl_writer=False
48-
build --@dawn//src/tint:tint_build_glsl_validator=False
49-
build --@dawn//src/tint:tint_build_hlsl_writer=True
50-
build --@dawn//src/tint:tint_build_ir=False
51-
build --@dawn//src/tint:tint_build_msl_writer=True
52-
build --@dawn//src/tint:tint_build_spv_reader=False
53-
build --@dawn//src/tint:tint_build_spv_writer=True
54-
build --@dawn//src/tint:tint_build_wgsl_reader=True
55-
build --@dawn//src/tint:tint_build_wgsl_writer=True
56-
5743
# Our dependencies (ICU, zlib, etc.) produce a lot of these warnings, so we disable them. Depending
5844
# on the clang version, zlib either produces warnings for -Wdeprecated-non-prototype or does not
5945
# have that option, so disable -Wunknown-warning-option there too.
6046
build --per_file_copt='external@-Wno-error'
6147
build --per_file_copt='external/v8@-Wno-unused-function'
62-
build --per_file_copt='external/dawn@-Wno-shorten-64-to-32,-Wno-unneeded-internal-declaration,-Wno-deprecated-this-capture'
63-
build --host_per_file_copt='external/dawn@-Wno-shorten-64-to-32,-Wno-unneeded-internal-declaration,-Wno-deprecated-this-capture'
6448
build --per_file_copt='external/zlib@-Wno-unknown-warning-option,-Wno-deprecated-non-prototype'
6549
build --host_per_file_copt='external/zlib@-Wno-unknown-warning-option,-Wnodeprecated-non-prototype'
6650
# for some reason tcmalloc uses internal msan-enabled annotation in the code, rather than public
@@ -136,9 +120,6 @@ build:unix --cxxopt=-D_LIBCPP_HAS_NO_INCOMPLETE_PSTL --host_cxxopt=-D_LIBCPP_HAS
136120
# TODO(cleanup): Patch upstream V8 to use local_defines for this instead.
137121
build:windows --copt='-Wno-macro-redefined'
138122
build:windows --host_copt='-Wno-macro-redefined'
139-
# Dawn/Tint adds compiler flags that are ignored on Windows
140-
build:windows --per_file_copt='external/dawn@-Wno-unknown-argument'
141-
build:windows --host_per_file_copt='external/dawn@-Wno-unknown-argument'
142123

143124
# typescript configuration
144125
# do more correct type checking

0 commit comments

Comments
 (0)