[PATCH v3 2/3] wined3d: Track per light state changes in stateblock.