Same problem here. Migrated a 5.0.3 project to 5.2, it compiles, runs and works well, but this DirectX error is showing all around Rider.
Did a full Rider cache invalidation, no changes.