1. An apparatus to manage a graphics processing unit (GPU) pipeline comprising: a GPU interconnect to receive a compiled shader, the compiled shader to comprise instructions in an executable format that are ready for execution via the GPU pipeline; a shader patcher to: determine whether one or more portions of the compiled shader can be patched in the executable format based on global constants referenced in the compiled shader having corresponding values in a global constant buffer and modified prior to execution of the compiled shader, replace references, corresponding to global constants in the compiled shader and modified prior to execution of the compiled shader, with values of the global constants from the global constant buffer to generate one or more patched portions based on an optimization goal, and replace the one or more portions of the compiled shader with the one or more patched portions based on a determination that the one or more portions of the compiled shader can be patched; and a GPU operably coupled to the GPU interconnect, the GPU to repeatedly execute the compiled shader, the shader patcher to patch the compiled shader between a first instance the GPU executes the compiled shader and a second instance the GPU executes the compiled shader.
3. The apparatus of claim 1 , the shader patcher to: identify one or more conditional statements in the compiled shader; and determine whether one or more portions of the compiled shader can be patched based on the one or more identified conditional statements.