There is not currently a way to do multi-ops in jit.gl.slab, in the way that you are expecting. If you don’t mind digging into a little shader programming, it’s pretty trivial to create something that does what you need.
to assign different ops for each color channel it would be more like:
vec4 result = vec4(v0.r*v1.r,v0.g*v1.g,v0.b*v1.b,v0.a*v1.a);
There are 2 important things going on here. First, we’re constructing a vec4 using vec4(r,g,b,a). This vec4 is a pixel value RGBA, and is made out of 4 floating point numbers. The other thing is using the swizzle (‘v0.r’) notation to access different elements of the input vec4. This is kind of like using @planemap. Swizzle can be done using either my_vec4.rgba or my_vec4.xyzw notation.