首页> 外国专利> 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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号