2020-09-11 11:09:06 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2020-10-30 18:38:47 +00:00
|
|
|
"examples/runners/cpu",
|
|
|
|
"examples/runners/ash",
|
|
|
|
"examples/runners/wgpu",
|
|
|
|
"examples/shaders/sky-shader",
|
|
|
|
"examples/shaders/simplest-shader",
|
2020-11-10 08:10:21 +00:00
|
|
|
"examples/shaders/compute-shader",
|
2020-12-15 11:33:24 +00:00
|
|
|
"examples/shaders/mouse-shader",
|
2020-11-13 08:57:12 +00:00
|
|
|
|
2020-11-02 10:26:10 +00:00
|
|
|
"crates/rustc_codegen_spirv",
|
|
|
|
"crates/spirv-builder",
|
|
|
|
"crates/spirv-std",
|
2021-03-18 17:16:21 +00:00
|
|
|
|
|
|
|
"tests",
|
2021-03-19 17:34:08 +00:00
|
|
|
"tests/deps-helper",
|
2020-09-11 11:09:06 +00:00
|
|
|
]
|
2021-02-19 14:01:24 +00:00
|
|
|
|
|
|
|
# Compile build-dependencies in release mode with
|
|
|
|
# the same settings as regular dependencies.
|
|
|
|
[profile.release.build-override]
|
|
|
|
opt-level = 3
|
|
|
|
codegen-units = 16
|
2021-03-16 08:59:08 +00:00
|
|
|
|
|
|
|
[patch.crates-io]
|
2021-03-16 14:14:53 +00:00
|
|
|
spirv-std = { path = "./crates/spirv-std" }
|
2021-03-17 11:33:50 +00:00
|
|
|
spirv-std-macros = { path = "./crates/spirv-std-macros" }
|
2021-03-26 08:05:33 +00:00
|
|
|
glam = { git = "https://github.com/bitshifter/glam-rs.git", rev ="52c2e4a" }
|
2021-03-20 18:25:25 +00:00
|
|
|
# TODO: Remove once next version is released - needed to include these two PRs:
|
|
|
|
# * Manishearth/compiletest-rs#240 (for handling SPIR-V extension across platforms)
|
|
|
|
# * Manishearth/compiletest-rs#241 (for the `$TEST_BUILD_DIR` path normalization)
|
|
|
|
compiletest_rs = { git = "https://github.com/Manishearth/compiletest-rs.git", rev = "9257f6d" }
|