updated precision formula & fixed hang (old code)
This commit is contained in:
@@ -46,7 +46,7 @@ impl ComputePipeline {
|
||||
}
|
||||
}
|
||||
if len != self.old_len {
|
||||
println!("len: {}", len);
|
||||
println!("new len: {}", len);
|
||||
self.old_len = len;
|
||||
self.pipeline = self.pipeline(device, &Self::shader(device, len));
|
||||
self.work.set(work_vec(size.x, size.y, len));
|
||||
|
||||
Reference in New Issue
Block a user