1. A method of determining a schedule of instructions for a graphics pipeline, said method comprising: accessing a state of a host system; determining a vector based on said state, wherein said vector comprises information about said state; indexing a table based on said vector to obtain a plurality of macro-operations associated with said state, wherein said plurality of macro-operations are associated with at least one operation to be performed by said graphics pipeline; and determining at least one instruction for programming said graphics pipeline to implement said state, wherein said at least one instruction is determined based on said plurality of macro-operations and also based on context information, wherein said context information comprises data associated with graphics processing that is used to perform said at least one operation.