[PATCH 5/5] wined3d: Optimize scanning changed clip planes in wined3d_device_apply_stateblock().