Paul Gofman : wined3d: Track per light state changes in stateblock.