'Ullo lads, in a wee bit of a bind 'ere, as I'm cleaning up and porting the shader code for Skyrim's NLA ENB, to ReShade for use in the ol' Elder Scrolls Online.
So far, I think I've made a good job of the horrid formatting, and got the UI vars down, but ReShade throws up right at the beginning of the pixel shader, where I define the pass name.
15/11/2016 19:43:33:860 [04408] | INFO | Loading image files for textures ...
15/11/2016 19:44:29:224 [04408] | INFO | Compiling 'R:\Reshade_Effects\FyTyPostProcessing.fx' ...
15/11/2016 19:44:29:237 [04408] | ERROR | Failed to compile 'R:\Reshade_Effects\FyTyPostProcessing.fx':
R:\Games\steamapps\common\Zenimax Online\The Elder Scrolls Online\game\client\Shader@0x00000000530B62E0(66,

: error X3507: 'F__PostProcessingPass': Not all control paths return a value
R:\Reshade_Effects\FyTyPostProcessing.fx(147,

: error: internal shader compilation failed
What I've done so far, as far as installing files go:
Downloaded Reshade 3.05
Let it punt the DXGI wrapper into the ESO install directory
Point the .ini to use shader and texture folders in the root path; R:\Reshade_Shaders, R:\Reshade_Textures
Copied
Crosire's ReShade.fx into the ReShade_Shaders folder
Created FyTyPostProcessing.fx in the ReShade_Shaders folder
Copy-pasted parts of the HLSL code, tidying and porting the code 'n' variables
So aye, not sure why it's not happy, when I nabbed that pass data straight from Crosfire. Namely, from the CA.fx shader:
github.com/crosire/reshade-shaders/blob/master/Shaders/CA.fx
Current code:
pastebin.com/QsJQh2ZN
So aye. Any idea why it's throwing that error?