Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bring back WebGPU #20812

Merged
merged 48 commits into from Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
bc3fbf5
bring back webgpu infrastructure
crowlKats Oct 4, 2023
1b1e475
pull in webgpu
crowlKats Oct 4, 2023
6d56745
use git dep
crowlKats Oct 7, 2023
b54794f
fix
crowlKats Oct 10, 2023
b7019a6
feat(streams): ReadableStream.read min option
crowlKats Oct 10, 2023
d7e4d02
fix converters and asserts
crowlKats Oct 11, 2023
d88baf4
add CoreGraphics
crowlKats Oct 11, 2023
e7e024b
Update ext/webgpu/01_webgpu.js
crowlKats Nov 29, 2023
a5dc8f2
Update ext/webgpu/01_webgpu.js
crowlKats Nov 29, 2023
15c8e6a
Update ext/webgpu/01_webgpu.js
crowlKats Nov 29, 2023
f3d8934
Update ext/webgpu/01_webgpu.js
crowlKats Nov 29, 2023
c0ac159
Update ext/webgpu/01_webgpu.js
crowlKats Nov 29, 2023
59e5b5d
Update ext/webgpu/01_webgpu.js
crowlKats Nov 29, 2023
786de65
Update ext/webgpu/01_webgpu.js
crowlKats Nov 29, 2023
b142f39
Apply suggestions from code review
crowlKats Nov 29, 2023
c47e3ff
Update ext/webgpu/01_webgpu.js
crowlKats Nov 29, 2023
d317f0c
address comments
crowlKats Nov 29, 2023
91532f1
Merge branch 'main' into webgpu
crowlKats Nov 29, 2023
ddd6879
some fixes
crowlKats Nov 30, 2023
8ea8ddc
format and fix
crowlKats Nov 30, 2023
44c0674
lazy load
crowlKats Dec 1, 2023
d4e85d3
cleanup
crowlKats Dec 4, 2023
e64d31f
Merge branch 'main' into webgpu
crowlKats Dec 7, 2023
59c7397
update primordials import
crowlKats Dec 7, 2023
f1fbfd9
remove duplicate brand assert
crowlKats Dec 7, 2023
3f15523
fmt
crowlKats Dec 7, 2023
d41b6c5
ci
crowlKats Dec 7, 2023
7825789
safety comments
crowlKats Dec 7, 2023
41e3929
fix
crowlKats Dec 7, 2023
554df0c
fmt
crowlKats Dec 7, 2023
de9bc5f
primordials
crowlKats Dec 7, 2023
36846d2
fix config.toml
crowlKats Dec 7, 2023
7d68d7c
fix primordials
crowlKats Dec 7, 2023
7665e8e
Merge branch 'main' into webgpu
crowlKats Dec 7, 2023
bb0bd0e
update wgpu
crowlKats Dec 7, 2023
569fd1b
fix the build
bartlomieju Dec 8, 2023
0602fc6
pin reqwest
crowlKats Dec 8, 2023
ab295e5
fix
crowlKats Dec 8, 2023
68465cb
fix unstable flag order
crowlKats Dec 8, 2023
14f0375
fix test
crowlKats Dec 8, 2023
bbdba51
update macos_shared_libraries to check for weak linking
crowlKats Dec 8, 2023
76d5234
Merge branch 'main' into webgpu
crowlKats Dec 8, 2023
99fa18b
fix unstable handling
crowlKats Dec 8, 2023
3800f11
fmt
crowlKats Dec 8, 2023
6c91999
fix test
crowlKats Dec 8, 2023
dcd94a2
Merge branch 'main' into webgpu
crowlKats Dec 8, 2023
1efcd93
adress comments
crowlKats Dec 8, 2023
42aff1b
fmt
crowlKats Dec 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion .cargo/config.toml
Expand Up @@ -11,8 +11,17 @@ rustflags = [
"link-arg=/STACK:4194304",
]

[target.x86_64-apple-darwin]
rustflags = [
"-C",
"link-args=-weak_framework Metal -weak_framework MetalPerformanceShaders -weak_framework QuartzCore -weak_framework CoreGraphics",
]

[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
rustflags = [
"-C",
"link-args=-fuse-ld=lld -weak_framework Metal -weak_framework MetalPerformanceShaders -weak_framework QuartzCore -weak_framework CoreGraphics",
]

[target.'cfg(all())']
rustflags = [
Expand Down