Welcome, Guest.
Username: Password: Remember me

TOPIC: Selecting a shader causes Crash in SwapBuffers

Selecting a shader causes Crash in SwapBuffers 10 months 3 weeks ago #1

Hey all,

I'm currently trying reshade for the first time and most shaders just worked. But some shaders cause a crash. Since I was debugging in Visual Studio, I got kinda useful screenshots:







ATM I can't test anything anymore, because everytime I launch the game, it will crash as soon the buggy shader is passed. I don't know yet in which config the activated shaders are saved (I hope somebody tells me ^^).

Would be best to actually fix the crash tho. When I can provide any extra information for bug fixing, please just ask for it.

Many regards,

kung foo man
The administrator has disabled public write access.

Selecting a shader causes Crash in SwapBuffers 10 months 3 weeks ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2907
  • Thank you received: 1683
Appears a nullptr is accessed somewhere (or to be more precise the field of an object with an offset of 0xC, but with the object pointer being a nullptr). Unfortunately it crashes inside the driver, which should not happen, ever. I would assume the Amd Glsl compiler doesn't produce valid code for one of ReShade's shaders (based on your description of the problem). It would be kinda hard to debug that though without knowing which exact shader causes crash (so the GLSL code ReShade creates could be analyzed) and since I don't own Amd hardware.
Cheers, crosire =)
The administrator has disabled public write access.