driver: temp->output optimization can only be done if no swizzle

Haven't noticed any cases yet where this causes problems, but it
is a bug nevertheless if the MOV is optimized out when it does
a swizzle.
driver: comments updates and small cleanups