fix error: vector size mismatch for arithmetic operator
format shader code
Merge branch 'pr545'