From cb9cb3189666ca3516f3efacdb2731b69c4e74df Mon Sep 17 00:00:00 2001 From: charles-r-earp Date: Tue, 8 Aug 2023 16:25:19 -0700 Subject: [PATCH] fixed test deprecated fn --- vulkano/src/pipeline/compute.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vulkano/src/pipeline/compute.rs b/vulkano/src/pipeline/compute.rs index 2c0a2585fe..fd4d135791 100644 --- a/vulkano/src/pipeline/compute.rs +++ b/vulkano/src/pipeline/compute.rs @@ -577,7 +577,8 @@ mod tests { 15, 16, 17, 131320, 16, 262205, 6, 24, 23, 327745, 25, 26, 20, 22, 196670, 26, 24, 131321, 17, 131320, 17, 65789, 65592, ]; - let module = ShaderModule::from_words(device.clone(), &MODULE).unwrap(); + let module = + ShaderModule::new(device.clone(), ShaderModuleCreateInfo::new(&MODULE)).unwrap(); module.entry_point("main").unwrap() };