wip swizzle encoder