fix the shaderunner version

master
mitchellhansen 5 years ago
parent 626eac4e86
commit 491e221b39

@ -50,7 +50,7 @@ impl CompuKernel {
let mut options = CompileOptions::new().ok_or(CompileError::CreateCompiler).unwrap();
let shader = sr::load_compute_with_options(compute_path.clone(), options)
let shader = sr::load_compute(compute_path.clone(), Some(options))
.expect("Failed to compile");
let entry = sr::parse_compute(&shader)
@ -106,7 +106,7 @@ impl CompuKernel {
self.compute_kernel_path = CompuKernel::get_path(filename);
self.shader =
sr::load_compute_with_options(self.compute_kernel_path.clone(), options)
sr::load_compute(self.compute_kernel_path.clone(), Some(options))
.expect("Failed to compile");
self.entry =

Loading…
Cancel
Save