[PATCH] d3dx9: Validate state operation in d3dx_parse_state().