Real-time ray tracing is incredibly demanding. The latest graphics cards have dedicated hardware that’s optimized for ray-tracing. The 3DMark DirectX Raytracing feature test measures the performance of this dedicated hardware. Instead of using traditional rendering techniques, the whole scene is ray-traced and drawn in one pass. The result of the test depends entirely on ray-tracing performance. (UL).
As for the 3DMark DXR feature test, here the 7700 XT takes a 7% lead over the RX 6800, while it's 21% slower than the RTX 4060 Ti 16GB.