mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 14:56:27 +00:00
5ac500d5b9
* Split out a new `-types` crate so `spirv-builder` stops loading LLVM via dylibs. * example-wgpu-runner: halve `max_push_constant_size` so it works on RADV/Fiji.
47 lines
1.5 KiB
TOML
47 lines
1.5 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"examples/runners/cpu",
|
|
"examples/runners/ash",
|
|
"examples/runners/wgpu",
|
|
"examples/runners/wgpu/builder",
|
|
"examples/shaders/reduce",
|
|
"examples/shaders/sky-shader",
|
|
"examples/shaders/simplest-shader",
|
|
"examples/shaders/compute-shader",
|
|
"examples/shaders/mouse-shader",
|
|
"examples/multibuilder",
|
|
|
|
"crates/rustc_codegen_spirv",
|
|
"crates/rustc_codegen_spirv-types",
|
|
"crates/spirv-builder",
|
|
"crates/spirv-std",
|
|
"crates/spirv-std/shared",
|
|
"crates/spirv-std/macros",
|
|
|
|
"tests",
|
|
"tests/deps-helper",
|
|
]
|
|
|
|
# Enable incremental by default in release mode.
|
|
[profile.release]
|
|
incremental = true
|
|
# HACK(eddyb) this is the default but without explicitly specifying it, Cargo
|
|
# will treat the identical settings in `[profile.release.build-override]` below
|
|
# as different sets of `rustc` flags and will not reuse artifacts between them.
|
|
codegen-units = 256
|
|
|
|
# Compile build-dependencies in release mode with the same settings
|
|
# as regular dependencies (including the incremental enabled above).
|
|
[profile.release.build-override]
|
|
opt-level = 3
|
|
incremental = true
|
|
codegen-units = 256
|
|
|
|
[patch.crates-io]
|
|
spirv-std = { path = "./crates/spirv-std" }
|
|
spirv-std-macros = { path = "./crates/spirv-std/macros" }
|
|
# HACK(eddyb) needed to include this PR (until it's part of a release):
|
|
# * Manishearth/compiletest-rs#249 (for `// only-*` support)
|
|
compiletest_rs = { git = "https://github.com/Manishearth/compiletest-rs.git", rev = "4ab843a1dc6ed9a82657d86d22397c6c5bb95b01" }
|