I managed to get swizzling working and at this point it is possible to write very simple shaders which can read from textures.
However I now need to implement comparison operators while setting things up for 'if' statements. So I was wondering, if it was better to do
vecA.x == vecB.x && vecA.y == vecB.y ...
I'm getting the feeling that it doesn't matter and that the 'all(equals(' is just for convenience and translates to exactly the same thing but I want to make sure of it.