Józef Kucia : d3dx9: Introduce a helper function for setting float shader constants.