首页> 外国专利> COMPILER-ASSISTED TECHNIQUES FOR MEMORY USE REDUCTION IN GRAPHICS PIPELINE

COMPILER-ASSISTED TECHNIQUES FOR MEMORY USE REDUCTION IN GRAPHICS PIPELINE

机译:图形管道内存减少的编译器辅助技术

摘要

Techniques for improving memory utilization for communication between stages of a graphics processing pipeline are disclosed. The techniques include analyzing output instructions of a first shader program to determine whether any such output instructions output some data that is not used by a second shader program. The compiler performs data packing if gaps exist between used output data to reduce memory footprint. The compiler generates optimized output instructions in the first shader program and optimized input instructions in the second shader program to output the used data from the first shader program and input that data in the second shader program in a packed format based on information about usage of output data and data packing. If needed, the compiler inserts instructions to perform runtime checking to identify unused output data of the first shader program based on information not known at compile-time.
机译:公开了用于提高用于图形处理管线的各阶段之间的通信的存储器利用率的技术。该技术包括分析第一着色器程序的输出指令,以确定是否有任何这样的输出指令输出第二着色器程序未使用的某些数据。如果使用的输出数据之间存在间隙,则编译器将执行数据打包以减少内存占用。编译器在第一着色器程序中生成优化的输出指令,并在第二着色器程序中生成优化的输入指令,以根据有关输出使用的信息以打包格式将来自第一着色器程序的使用过的数据输出到第二着色器程序中,并以打包格式输入该数据。数据和数据打包。如果需要,编译器会插入指令以执行运行时检查,以根据编译时未知的信息来标识第一个着色器程序的未使用输出数据。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号