[PATCH 1/6] wined3d: Invalidate push constant flags only for the primary stateblock.