发明名称 Conditional end of thread mechanism
摘要 A graphics processing unit, method, computer readable media, and system are described herein. The graphics processing unit includes at least one execution unit, the execution unit configured to execute a shader. The shader includes instructions that causes the execution unit to process a plurality of pixels in parallel until each of the plurality of pixels is discarded and execution of a last write instruction, and execute a conditional end of thread instruction after each of the plurality of pixels is discarded and after execution of the last write instruction, wherein execution of the conditional end of thread instruction is to terminate the thread.
申请公布号 US9292898(B2) 申请公布日期 2016.03.22
申请号 US201313834540 申请日期 2013.03.15
申请人 Intel Corporation 发明人 Ossowski Przemyslaw
分类号 G06T1/20;G06F9/44;G06T15/00 主分类号 G06T1/20
代理机构 International IP Law Group, P.L.L.C. 代理人 International IP Law Group, P.L.L.C.
主权项 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; andexecute 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.
地址 Santa Clara CA US