hi and big thanks to the devvvvs for this promising release
for now it looks to work great except a little problem i have with an effect (Desax’s SurfacesPhongDirectional.fx) returning “nil” on technique pin.
as advised in the release page i checked the code and yes it looks to be a syntax problem (“line 5832 - redefinition of SteinbachScrew”) but i don’t know how to resolve this as i’m not an hlsl friend.
This compiler change should have been done a long time ago - finally it might force ppl to write shaders correctly =)
As for fixing it - you could try to hexedit the executable and replace the string “d3dx9_XX.dll” by “d3dx9_30.dll”(or whatever it was in previous versions), but please do that only if you really have no time and no other options. And i’m not even 100% sure will this trick work or not…
the fix is quite easy! most of the time the technique is called like a function of the shader, so just rename this function. i would not rename the technique, because that would break patches using the technique name enum.
also, make sure shader model 1 is not mentioned (change to 2_0 atleast)
and i remember someone’s shader with “writing” to a global variable - this shouldnt happen