This repository has been archived on 2023-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
1 changed files with
3 additions and
3 deletions
|
|
@ -336,7 +336,7 @@ fn create_gpu_buffer(vertices: &Vec<[f32; 4]>, indices: &Vec<u32>, materials: &V
|
|
|
|
..Default::default()
|
|
|
|
..Default::default()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
AllocationCreateInfo {
|
|
|
|
AllocationCreateInfo {
|
|
|
|
usage: MemoryUsage::DeviceOnly,
|
|
|
|
usage: MemoryUsage::Upload,
|
|
|
|
..Default::default()
|
|
|
|
..Default::default()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
vertices.clone(),
|
|
|
|
vertices.clone(),
|
|
|
@ -349,7 +349,7 @@ fn create_gpu_buffer(vertices: &Vec<[f32; 4]>, indices: &Vec<u32>, materials: &V
|
|
|
|
..Default::default()
|
|
|
|
..Default::default()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
AllocationCreateInfo {
|
|
|
|
AllocationCreateInfo {
|
|
|
|
usage: MemoryUsage::DeviceOnly,
|
|
|
|
usage: MemoryUsage::Upload,
|
|
|
|
..Default::default()
|
|
|
|
..Default::default()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
indices.clone(),
|
|
|
|
indices.clone(),
|
|
|
@ -362,7 +362,7 @@ fn create_gpu_buffer(vertices: &Vec<[f32; 4]>, indices: &Vec<u32>, materials: &V
|
|
|
|
..Default::default()
|
|
|
|
..Default::default()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
AllocationCreateInfo {
|
|
|
|
AllocationCreateInfo {
|
|
|
|
usage: MemoryUsage::DeviceOnly,
|
|
|
|
usage: MemoryUsage::Upload,
|
|
|
|
..Default::default()
|
|
|
|
..Default::default()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
materials.clone(),
|
|
|
|
materials.clone(),
|
|
|
|