+
+ bool ok = hpass->set_float("radius", adjusted_radius);
+ ok |= hpass->set_int("width", mipmap_width);
+ ok |= hpass->set_int("height", mipmap_height);
+ ok |= hpass->set_int("virtual_width", mipmap_width);
+ ok |= hpass->set_int("virtual_height", mipmap_height);
+
+ ok |= vpass->set_float("radius", adjusted_radius);
+ ok |= vpass->set_int("width", mipmap_width);
+ ok |= vpass->set_int("height", mipmap_height);
+ ok |= vpass->set_int("virtual_width", input_width);
+ ok |= vpass->set_int("virtual_height", input_height);
+
+ assert(ok);
+}