1. A pixel processing system comprising: a register-collecting mechanism, modifying a first program which requires a plurality of first registers to a second program which requires a portion of the first registers of the first program; and a pixel shader coupled to the register-collecting mechanism, fetching and executing the second program for reallocating the rest of the first registers of the first program to be available to other program.