The design and analysis of a cache architecture for texture mapping
- 1 May 1997
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGARCH Computer Architecture News
- Vol. 25 (2) , 108-120
- https://doi.org/10.1145/384286.264152
Abstract
The effectiveness of texture mapping in enhancing the realism of computer generated imagery has made support for real-time texture mapping a critical part of graphics pipelines. Despite a recent surge in interest in three-dimensional graphics from computer architects, high-quality high-speed texture mapping has so far been confined to costly hardware systems that use brute-force techniques to achieve high performance. One obstacle faced by designers of texture mapping systems is the requirement of extremely high bandwidth to texture memory. High bandwidth is necessary since there are typically tens to hundreds of millions of accesses to texture memory per second. In addition, to achieve the high clock rates required in graphics pipelines, low-latency access to texture memory is needed. In this paper, we propose the use of texture image caches to alleviate the above bottlenecks, and evaluate various tradeoffs that arise in such designs.We find that the factors important to cache behavior are (i) the representation of texture images in memory, (ii) the rasterization order on screen and (iii) the cache organization. Through a detailed investigation of these issues, we explore the best way to exploit locality of reference and determine whether this technique is robust with respect to different scenes and different amounts of texture. Overall, we observe that there is a significant amount of temporal and spatial locality and that the working set sizes are relatively small (at most 16KB) across all cases that we studied. Consequently, the memory bandwidth requirements of a texture cache system are substantially lower (at least three times and as much as fifteen times) than the memory bandwidth requirements of a system which achieves equivalent performance but does not utilize a cache. These results are very encouraging and indicate that caching is a promising approach to designing memory systems for texture mapping.Keywords
This publication has 13 references indexed in Scilit:
- TalismanPublished by Association for Computing Machinery (ACM) ,1996
- Rendering from compressed texturesPublished by Association for Computing Machinery (ACM) ,1996
- Texram: a smart memory for texturingIEEE Computer Graphics and Applications, 1996
- FBRAMPublished by Association for Computing Machinery (ACM) ,1994
- Reality Engine graphicsPublished by Association for Computing Machinery (ACM) ,1993
- Fast shadows and lighting effects using texture mappingPublished by Association for Computing Machinery (ACM) ,1992
- The truth about texture mappingIEEE Computer Graphics and Applications, 1990
- Rendering antialiased shadows with depth mapsPublished by Association for Computing Machinery (ACM) ,1987
- Visual simulation of cloudsPublished by Association for Computing Machinery (ACM) ,1985
- Pyramidal parametricsPublished by Association for Computing Machinery (ACM) ,1983