CG Shaders gone/not working on v1.9.1

Windows user here.

After updating from RA v1.9.0 to v1.9.1 my CG shaders don’t work anymore. I’m using the GL video driver, but it seems to force to GLSL:

[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.

I also noticed that the v1.9.1 (x64) package only comes with glsl shaders. Is there a reason for this? Have CG shaders been discontinued?

EDIT: I suppose this is the answer:

  • CG: Old, deprecated format. Might not be available if RetroArch is built without Cg runtime support.
  • GLSL: Shader format available to OpenGL. Wide range of platforms including phones and tablets.
  • Slang: New and recommended shader format, when available. Compatible with Vulkan, Direct3D 10/11/12, OpenGL Core, WiiU and Metal renderers.


Yes, that’s correct: The Nvidia Cg Toolkit package in MSYS2 (the toolchain we use to build RetroArch) is apparently broken (installation of it requires a dependency that it can’t fulfill), so we couldn’t include it. We’ve known this would eventually be a problem since Nvidia officially killed Cg years ago and it is not an open-source framework.