Code reorganization and improvements in psshader generator
some fixes to allow useless shader code generation. small fix to z texturing