Paul Gofman : d3dx9: Introduce get_reg_components() helper function and use it instead of get_offset_reg() when appropriate.