首页> 外国专利> 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.
机译:用于分割着色器的设备和方法。例如,一种方法的一个实施例包括:在图形处理环境中接收用于编译着色器的请求;以及确定是否与着色器相关的工作足以证明将着色器分为两个或更多程序代码块;如果有足够的工作,请评估着色器的程序代码,以识别程序代码块之间的依赖关系;根据所标识的依赖性将着色器细分为两个或多个块;并分别在图形处理器上执行两个或更多代码块。另外,一个实施例包括以下操作:确定可以被细分的区域中的任何一个是否在不同的机器配置下比在不被细分的情况下执行着色器是否可能更快地运行,以及仅针对那些可能被细分的区域细分着色器。在不同的机器配置下运行更快。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号