d3dx9: Support setting texture through SetValue in effect.