Initialize MemoryRequirements with Default
This commit is contained in:
parent
da5de66ba4
commit
3eeb78f214
|
@ -72,7 +72,7 @@ impl RayTracing {
|
||||||
&self,
|
&self,
|
||||||
info: &vk::AccelerationStructureMemoryRequirementsInfoKHR,
|
info: &vk::AccelerationStructureMemoryRequirementsInfoKHR,
|
||||||
) -> vk::MemoryRequirements2KHR {
|
) -> vk::MemoryRequirements2KHR {
|
||||||
let mut requirements = mem::zeroed();
|
let mut requirements = Default::default();
|
||||||
self.ray_tracing_fn
|
self.ray_tracing_fn
|
||||||
.get_acceleration_structure_memory_requirements_khr(
|
.get_acceleration_structure_memory_requirements_khr(
|
||||||
self.handle,
|
self.handle,
|
||||||
|
|
Loading…
Reference in a new issue