Download d3d8.dll from https://github.com/crosire/d3d8to9/releases and put it next to the game executable.

This will convert incoming Direct3D 8 API calls and bytecode shaders to Direct3D 9, which ReShade then can work with.