Skip to content

Commit

Permalink
Dynamically growing scratch allocator & exposed image memory type (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedjoud10 authored Aug 2, 2023
1 parent 6a1b3b1 commit a775036
Show file tree
Hide file tree
Showing 11 changed files with 587 additions and 485 deletions.
1 change: 1 addition & 0 deletions examples/01_basic/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ impl ExampleApp for Basic {
samples: vk::SampleCountFlags::TYPE_1,
mip_levels: 1,
layers: 1,
memory_type: phobos::MemoryType::GpuOnly
},
)?;
ctx.device.set_name(&image, "Render Image")?;
Expand Down
1 change: 1 addition & 0 deletions examples/03_raytracing/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ impl ExampleApp for RaytracingSample {
samples: vk::SampleCountFlags::TYPE_1,
mip_levels: 1,
layers: 1,
memory_type: phobos::MemoryType::GpuOnly
},
)?;
let view = attachment.whole_view(vk::ImageAspectFlags::COLOR)?;
Expand Down
Loading

0 comments on commit a775036

Please sign in to comment.