[PATCH 3/3] d3d10: Handle invalid arguments for effect creation.