Skip to content

Commit

Permalink
Fixing things to get owned command buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Nov 1, 2023
1 parent 09406d8 commit 3a0b6fb
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 2,719 deletions.
5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ name = "mps-matrix-multiplication"
path = "examples/mps/matrix-multiplication/main.rs"
required-features = ["mps"]

[[example]]
name = "custom-kernels"
path = "examples/mps/custom-kernels/main.rs"
required-features = ["mps"]

[[example]]
name = "mps-ray-intersection"
path = "examples/mps/ray-intersection/main.rs"
Expand Down
2 changes: 1 addition & 1 deletion examples/compute/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fn main() {
encoder.dispatch_thread_groups(thread_group_count, thread_group_size);
encoder.end_encoding();

resolve_samples_into_buffer(command_buffer, &counter_sample_buffer, &destination_buffer);
resolve_samples_into_buffer(&command_buffer, &counter_sample_buffer, &destination_buffer);

command_buffer.commit();
command_buffer.wait_until_completed();
Expand Down
Loading

0 comments on commit 3a0b6fb

Please sign in to comment.