allow for Z swapping for tcomp

Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>