Skip to content

Commit

Permalink
fixed test deprecated fn
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-r-earp committed Aug 8, 2023
1 parent 9f62382 commit cb9cb31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vulkano/src/pipeline/compute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
};

Expand Down

0 comments on commit cb9cb31

Please sign in to comment.