首页>
外国专利>
METHOD AND APPARATUS FOR SUBDIVIDING SHADER WORKLOADS IN A GRAPHICS PROCESSOR FOR EFFICIENT MACHINE CONFIGURATION
METHOD AND APPARATUS FOR SUBDIVIDING SHADER WORKLOADS IN A GRAPHICS PROCESSOR FOR EFFICIENT MACHINE CONFIGURATION
展开▼
机译:在图形处理器中细分着色器工作负荷以实现有效的机器配置的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
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.
展开▼