Paul Gofman : d3dx9: Implement shader constants effect states application.