I saw this shader get uploaded to git recently. I assume it’s the really complex CRT shader that a few screens were posted of on NeoGAF, but I get an error trying to use it so I’m not sure. Here’s what it says in my command prompt:
RetroArch: [libretro INFO] :: NstDatabase.xml path: ./System/\NstDatabase.xml
RetroArch [WARN] :: [libretro WARN] :: NstDatabase.xml required to detect region
and some mappers.
RetroArch: [libretro INFO] :: [Nestopia]: Machine is NTSC.
RetroArch [ERROR] :: CG error: The compile returned an error.
RetroArch [ERROR] :: Fragment:
./Shaders/crt-royale/crt-royale-first-pass-linearize-crt-gamma-bob-fields.cg(148
) : error C1008: undefined variable "tex2D_linearize"
./Shaders/crt-royale/crt-royale-first-pass-linearize-crt-gamma-bob-fields.cg(150
) : error C1008: undefined variable "tex2D_linearize"
./Shaders/crt-royale/crt-royale-first-pass-linearize-crt-gamma-bob-fields.cg(152
) : error C1008: undefined variable "tex2D_linearize"
./Shaders/crt-royale/crt-royale-first-pass-linearize-crt-gamma-bob-fields.cg(165
) : error C1008: undefined variable "encode_output"
RetroArch [ERROR] :: Failed to load shaders ...
RetroArch [ERROR] :: [GL]: Failed to init shader, falling back to stock.
RetroArch [ERROR] :: CG error: The compile returned an error.
RetroArch [ERROR] :: Fragment:
./Shaders/crt-royale/crt-royale-first-pass-linearize-crt-gamma-bob-fields.cg(148
) : error C1008: undefined variable "tex2D_linearize"
./Shaders/crt-royale/crt-royale-first-pass-linearize-crt-gamma-bob-fields.cg(150
) : error C1008: undefined variable "tex2D_linearize"
./Shaders/crt-royale/crt-royale-first-pass-linearize-crt-gamma-bob-fields.cg(152
) : error C1008: undefined variable "tex2D_linearize"
./Shaders/crt-royale/crt-royale-first-pass-linearize-crt-gamma-bob-fields.cg(165
) : error C1008: undefined variable "encode_output"
RetroArch [ERROR] :: Failed to load shaders ...
RetroArch [ERROR] :: [GL]: Failed to init shader, falling back to stock.
There are some options in user-settings.h that can be uncommented out that are supposed to fix errors, but none of those match the c1008 error I’m getting. There are two that have tex2d in them, but they are already commented out and uncommenting them doesn’t stop the error.
I’m on Windows using a RetroArch 64bit build from 6/7/14 (I tried a brand new build I compiled myself and that didn’t help). I have a GTX 570 on the 337.88 drivers.
Also, if anyone can get this shader to work, screens would be cool