1. A graphics processing unit, comprising: at least one execution unit, the execution unit configured to execute a shader, the shader comprising instructions that are to cause the execution unit to: process a plurality of pixel data in parallel until each of the plurality of pixel data is discarded and execution of a last write instruction; and execute a conditional end of thread instruction after each of the plurality of pixel data is discarded and after execution of the last write instruction, wherein execution of the conditional end of thread instruction is to terminate the thread wherein verification code is to be injected before each conditional end of thread instruction, wherein the verification code is to verify a status of the pixel data, and the status of the pixel data is verified such that the conditional end of thread instruction is to not execute if all pixel data of the thread are not discarded and the thread writes any pixel data to another buffer after the conditional end of thread instruction.