(11-05-2014, 08:52 AM)skid Wrote: Thanks for updating the shader, Asmodean. Is the shader nvidia-only? I am getting this error:
Quote:Failed to compile pixel shader!
This usually happens when trying to use Dolphin with an outdated GPU or integrated GPU like the Intel GMA series.
If you're sure this is Dolphin's error anyway, post the contents of /User/Dump/bad_ps_0000.txt along with this error message at the forums.
Debug info (ATI Technologies Inc., AMD Radeon R9 200 Series, 4.4.12967 Compatibility Profile Context 14.200.1004.0):
Fragment shader failed to compile with the following errors:
WARNING: 1:98: warning(#62) enable/warn/disable extension is not found. Extension "GL_NV_gpu_shader5" is not supported
ERROR: 1:677: error(#160) Cannot convert from: "3-component vector of vec3" to: "highp float"
ERROR: error(#273) 1 compilation errors. No code generated
A conversion error that the NV compiler overlooked. Either the NV compiler is too lax, or the AMD one is too strict with their SL. Can you try the attached version below please, and let me know. The Dolphin ps debug error line # output is off by ~22 lines each time. It can make debugging shaders of this size, quite finicky ;p
I'll try use a cross compiler, but considering the size of this shader, it probably won't let me. I'll need both AMD & NV feedback as I continue to update effects. Considering when finished, the shader will be roughly ~2000+ lines or so.
(11-05-2014, 09:01 AM)kirbypuff Wrote: @skid: Try with the latest OpenGL driver for AMD GPUs (4.4-13179) and see if it supports that extension. Just download the latest OpenCL2 Beta driver, unpack the installer, extract the two OpenGL DLLs and use them instead of the current ones.
EDIT: Nope. GL_NV_gpu_shader5 is not suppoted on AMD GPUs, but GL_ARB_gpu_shader5 is.
It wasn't the extension, that's just a warning. The FXAA version I'm using requires GL_ARB_gpu_shader5 (or version 400). I had the NV one in for testing something else. It's removed now.
Removed attachment to avoid confusion