From 3f5b96b3638a9ff341584e82188c3ba3aa5cb996 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Wed, 6 Sep 2023 01:17:20 +0200 Subject: [PATCH] nv/ray_tracing: Initialize tagged struct with `default()` (#792) --- ash/src/extensions/nv/ray_tracing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ash/src/extensions/nv/ray_tracing.rs b/ash/src/extensions/nv/ray_tracing.rs index c77b14404..a92012c19 100755 --- a/ash/src/extensions/nv/ray_tracing.rs +++ b/ash/src/extensions/nv/ray_tracing.rs @@ -57,7 +57,7 @@ impl RayTracing { &self, info: &vk::AccelerationStructureMemoryRequirementsInfoNV, ) -> vk::MemoryRequirements2KHR { - let mut requirements = mem::zeroed(); + let mut requirements = Default::default(); (self.fp.get_acceleration_structure_memory_requirements_nv)( self.handle, info,