yes you lose a little performance, plus you lose a little performance with the riser cable also since its not as good as putting a gpu straight into a mobo.
if you get a pci 4 riser cable you still need to have a mobo with pci 4 also
we are only talking a few % here though, nothing major and you probably will never notice it.