摘要 |
For a given texture address, a texture sampler fetches and reduces texture data with a filter accumulator suitable for providing a weighted average over a variety of filter footprints. A multi-mode texture sampler is configurable to provide both a wide variety of footprints in either a separable or non-separable filter mode and to allow for a filter footprint to be significantly wider than the bi-linear (2x2 texel) footprint. In an embodiment, sub-sample addresses are generated by the texture sampler logic to provide a desired footprint. The sub-sample addresses may be generated and sequenced by multi-texel units, such as 2x2 texel quads, for efficient filtering. In another embodiment, filter coefficients are cached from coefficient tables stored in memory. |