Skip to content

Commit da9d0a1

Browse files
committed
Move examples/path_tracer to crates/optix/examples/path_tracer.
Because it uses OptiX.
1 parent 131e774 commit da9d0a1

File tree

23 files changed

+9
-9
lines changed

23 files changed

+9
-9
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ members = [
2323
"crates/optix/examples/ex03_window",
2424
"crates/optix/examples/ex04_mesh",
2525
"crates/optix/examples/ex04_mesh/kernels",
26+
"crates/optix/examples/path_tracer",
27+
"crates/optix/examples/path_tracer/kernels",
2628
"crates/ptx",
2729
"crates/ptx_compiler",
2830
"crates/rustc_codegen_nvvm",
2931
"crates/rustc_codegen_nvvm_macros",
3032

3133
"examples/gemm",
3234
"examples/gemm/kernels",
33-
"examples/path_tracer",
34-
"examples/path_tracer/kernels",
3535
"examples/sha2_crates_io",
3636
"examples/sha2_crates_io/kernels",
3737
"examples/vecadd",

examples/path_tracer/Cargo.toml renamed to crates/optix/examples/path_tracer/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ edition = "2018"
66
[dependencies]
77
glam = { version = "0.30", features = ["bytemuck", "cuda", "mint"] }
88
bytemuck = { version = "1.21", features = ["derive"] }
9-
cust = { version = "0.3", path = "../../crates/cust", features = ["impl_glam"] }
9+
cust = { version = "0.3", path = "../../../cust", features = ["impl_glam"] }
1010
image = "0.25.5"
1111
path-tracer-kernels = { path = "kernels" }
12-
gpu_rand = { version = "0.1", path = "../../crates/gpu_rand" }
13-
optix = { version = "0.1", path = "../../crates/optix" }
12+
gpu_rand = { version = "0.1", path = "../../../gpu_rand" }
13+
optix = { version = "0.1", path = "../../../optix" }
1414
glium = "0.32.0"
1515
glutin = "0.28.0"
1616
imgui = "0.9.0"
File renamed without changes.

examples/path_tracer/kernels/Cargo.toml renamed to crates/optix/examples/path_tracer/kernels/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ version = "0.1.0"
44
edition = "2018"
55

66
[dependencies]
7-
cuda_std = { version = "0.2", path = "../../../crates/cuda_std" }
7+
cuda_std = { version = "0.2", path = "../../../../cuda_std" }
88
glam = { version = "0.30", default-features = false, features = ["libm", "cuda"] }
99
enum_dispatch = "0.3.13"
10-
gpu_rand = { version = "0.1", path = "../../../crates/gpu_rand" }
11-
cust_core = { path = "../../../crates/cust_core", features = ["glam"] }
12-
optix_device = { path = "../../../crates/optix_device" }
10+
gpu_rand = { version = "0.1", path = "../../../../gpu_rand" }
11+
cust_core = { path = "../../../../cust_core", features = ["glam"] }
12+
optix_device = { path = "../../../../optix_device" }
1313
approx = { version = "0.5" }
1414

1515
[lib]

0 commit comments

Comments
 (0)