(11-20-2013, 05:18 AM)Truth Unknown Wrote:(11-20-2013, 05:08 AM)Asmodean Wrote: Can you turn off the contrast effect, and let me know if it still happens?. I can't test myself, as I'm not getting the compile error. The extension log outputs were warnings btw, not errors. Your GPU didn't support all of them. It still should have compiled fine.I ended up the same conclusion just poking around in the shader, and it seems to function fine with S-curve Contrast off.
The compiler's debug output #line is not accurate. I think it's because of the way the preset define strings in the shader cache are compiled. It offsets the line numbers. It outputs the problem is at #681, but most likely it's at #690.
That cast should be fine tbh, do AMD cards default to a lower GL version on Dolphin, can anyone confirm?. If I cast that as a vec3 it will be luma & chroma which gets calculated, which is not accurate. I'll take a look at it.
Edit: CurvesFormula 1 will work for you. Leave the CurveType at 0, and you will probably want to lower CurvesContrast to about half it's current value, as curve formula 1 is stronger than 2.