For the purpose of determining the fund or funds from which the state’s contributions to the Public Employees’ Retirement Fund under Chapter 6 of Part 3 of Division 5 of Title 2 of this code and the contributions required of an employer under Chapter 3 of Part 3.5 of Division 5 of Title 2 of this code shall be paid, any compensation paid to state officers and employees from the State Pay Roll Revolving Fund shall be deemed to have been paid from the fund or funds from which the money disbursed from the State Pay Roll Revolving Fund in payment of such compensation was originally derived.