首页>
外国专利>
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.
展开▼