Paul Gofman : d3dx9: Fix IsParameterUsed() for the case when state references child parameter.