From 491e221b39469ea147973d928c6c3e46da2be1dd Mon Sep 17 00:00:00 2001 From: mitchellhansen Date: Tue, 7 Apr 2020 21:15:56 -0700 Subject: [PATCH] fix the shaderunner version --- src/compute/managed/compu_kernel.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compute/managed/compu_kernel.rs b/src/compute/managed/compu_kernel.rs index b597632b..c3879a2a 100644 --- a/src/compute/managed/compu_kernel.rs +++ b/src/compute/managed/compu_kernel.rs @@ -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 =