METHOD AND APPARATUS FOR SUBDIVIDING SHADER WORKLOADS IN A GRAPHICS PROCESSOR FOR EFFICIENT MACHINE CONFIGURATION

    公开(公告)号:US20190206110A1

    公开(公告)日:2019-07-04

    申请号:US15858396

    申请日:2017-12-29

    CPC classification number: G06T15/005 G06F9/38 G06T1/20 G06T2210/52

    Abstract: An apparatus and method for splitting shaders. For example, one embodiment of a method comprises: receiving a request for compilation of a shader in a graphics processing environment; determining whether there is sufficient work associated with the shader to justify splitting the shader into two or more blocks of program code; evaluating the program code of the shader to identify dependencies between the blocks of program code if there is sufficient work; subdividing the shader into the two or more blocks in accordance with the identified dependencies; and individually executing the two or more blocks of code on a graphics processor. In addition, one embodiment includes the operations of determining whether any of the regions that can be subdivided are likely to run faster with different machine configurations than if the shader is executed without being subdivided, and subdividing the shader only for those regions that are likely to run faster with different machine configurations.

Patent Agency Ranking