What Is a GPU Texture Mapping Unit (TMU)? Sampling Flow and How to Read Unit Counts
A texture mapping unit (TMU) is a name for GPU hardware resources that turn a shader's texture coordinates into fetched texels and a filtered sample value. A TMU is not the memory that stores an image, and it is not the sampler state configured by an application. It describes part of the hardware path that carries out a texture-sampling request. Its internal design and the units exposed in product specifications vary by vendor and generation.
What Is a GPU Texture Mapping Unit (TMU)? Sampling Flow and How to Read Unit Counts
A texture mapping unit (TMU) is a name for GPU hardware resources that turn a shader's texture coordinates into fetched texels and a filtered sample value. A TMU is not the memory that stores an image, and it is not the sampler state configured by an application. It describes part of the hardware path that carries out a texture-sampling request. Its internal design and the units exposed in product specifications vary by vendor and generation.
What does a TMU do in texture sampling?
When a shader paints an image onto a 3D surface, it supplies texture coordinates for the visible pixels. The requested coordinates and the apparent size of the surface determine which texels and filtering operations are needed. NVIDIA's Blackwell architecture paper says its texture units handle texture mapping, including fetching texels, filtering, and handling texture coordinates. AMD's RDNA 3 instruction-set document distinguishes a texture resource descriptor (T#), which describes the image's address, format, and dimensions, from a sampler descriptor (S#), which describes how the vector-memory system reads and filters it. These are examples of a sampling instruction and its settings using a hardware texture-read path. NVIDIA Blackwell GPU architecture AMD RDNA 3 shader ISA
Thinking of a TMU only as “a small calculator that returns one color” misses its role. An API defines the texture, sampler, sampling instruction, address handling, and filtering rules. For example, a Direct3D 11 sampler description includes the filter, U/V/W address modes, mip-level-of-detail (LOD) bias, and anisotropy limit. This is an API contract for the requested sampling behavior; it does not prescribe a physical layout in which every GPU must route an operation through the same number of independent TMUs. Direct3D 11 sampler description
A texture cache is different from a TMU as a concept. The TMU name refers to the processing path that gathers data for coordinates and produces the filtered result; a cache temporarily keeps recently read data so nearby requests may avoid another trip to memory. A chip can divide or combine these functions in different internal blocks. Do not assume that one TMU is dedicated to one texture, or that one sample always means one memory access.
How UV coordinates become a shader value
Imagine looking at a road surface at a steep angle. The change in texture coordinates between neighboring screen pixels indicates how much of the texture each pixel covers. The Direct3D driver documentation describes using texture coordinates and their derivatives to choose a level of detail (LOD) and mip level. When the surface occupies fewer screen pixels, a smaller mip image can help reduce flicker and aliasing. Direct3D filtering and LOD rules
The conceptual path is below. These steps do not correspond one-to-one with separate physical units.
| Stage | What the GPU does | Effect on the result |
|---|---|---|
| Coordinates and derivatives | A shader provides UV coordinates; their change across the screen estimates the texture's screen-space footprint. | Supplies input for mip LOD and filter selection. |
| Resource and sampler settings | The texture resource provides format, dimensions, and mip levels; the sampler provides addressing, filtering, and LOD rules. | Determines how out-of-range coordinates are handled and which filter is requested. |
| Texel fetch | Needed texels are obtained from cache or the memory path at the selected mip level. | Nearby coordinates can reuse data; scattered accesses can require more memory traffic. |
| Filtering and return | Point filtering selects a nearby texel; linear filtering combines nearby values; a mip filter may blend results from adjacent levels. | Changes processing work and the image's sharpness or smoothness. |
For the oblique road, the texture footprint is much longer in one direction than the other. Anisotropic filtering accounts for that directional difference and can preserve more detail on the sloped surface than a simple point or linear filter. Direct3D documentation says it can require more processing than minification, magnification, or mip filtering. The actual number of samples and cost depend on hardware and settings, so “16× anisotropy” should not be read as “always 16 samples.”
How to read TMU counts and texture throughput
A TMU count can indicate the scale of texture-processing resources within one vendor's definition, but specification tables do not all publish the same field. NVIDIA's Blackwell paper lists 512 texture units for GeForce RTX 4090 and 680 for RTX 5090. It also reports bilinear-filtered texel rates of 1,290.2 and 1,636.76 gigatexels per second, respectively, and separately describes a Blackwell change to point-sampling performance. The generation change therefore cannot be explained by the TMU count alone. NVIDIA Blackwell texture units and rates
Other vendors may foreground different metrics. AMD's RX 9070 XT page lists compute units, ROPs, and pixel fill rate; Intel's Arc B580 specifications list Xe cores, render slices, and other engines. The absence of a separate TMU field on those pages does not mean the GPU lacks texture-processing hardware. AMD Radeon RX 9070 XT specifications Intel Arc B580 specifications
| Published example | Texture-related metric in the document | How far the comparison goes |
|---|---|---|
| GeForce RTX 4090 → RTX 5090 | 512 → 680 texture units; bilinear-filtered rates of 1,290.2 → 1,636.76 GTexels/s. | Values NVIDIA reports for these products. The generation also changes SM design and sampling behavior, so the count alone is not a performance cause. |
| Radeon RX 9070 XT | The product page lists 64 CUs, 128 ROPs, pixel fill rate, and other metrics. | That page does not show a separate TMU number; this says nothing about whether texture processing exists. |
| Intel Arc B580 | The product page lists 20 Xe cores, 5 render slices, Xe vector engines, and other fields. | Its public metric vocabulary differs from NVIDIA's texture-unit count; the numbers are not interchangeable. |
A published bilinear texel rate is a theoretical throughput figure for a specified filter case, not a game frame-rate prediction. Actual performance also depends on shader arithmetic, cache reuse, memory bandwidth, resolution, drivers, and power limits. More TMUs cannot make a game proportionally faster when texturing is not the bottleneck.
How to check whether texture processing is the bottleneck
A shader with many texture samples can be sensitive to texture throughput, but a slow game is not by itself evidence of too few TMUs. Check the hypothesis in a controlled order:
**Fix the comparison conditions.** Record repeated frame-time measurements from the same scene, resolution, quality settings, driver, and power conditions. Look at the frame-time distribution as well as average FPS.
**Inspect the shader's sampling work.** Check texture lookups per pixel, filter and anisotropy settings, mipmap use, and whether neighboring coordinates are spatially close. Reuse can make the same number of samples cost different amounts.
**Read the relevant counters in the GPU profiler.** If available, inspect texture-pipeline activity or waits alongside cache hits, memory bandwidth, and shader occupancy. Counter names and definitions vary by tool and GPU generation; there is no universal threshold.
**Change one setting at a time.** Reduce redundant samples or adjust mip/filter settings for the scene, then repeat the capture. If the image becomes blurry, flickers, or wraps incorrectly at an edge, revert the change and recheck coordinates, address modes, and mipmaps.
**Cross-check the cause.** See whether frame times improve repeatedly and whether texture-related counters change too. If not, investigate arithmetic, memory access, rasterization, synchronization, or power limits. Do not blame a specific block without evidence. NVIDIA's guide also cautions that cache hits can reduce DRAM demand without guaranteeing lower fetch latency. [NVIDIA CUDA best practices: texture memory and cache locality](https://docs.nvidia.com/cuda/cuda-c-best-practices-guide/)
In short, a TMU is a name for the hardware path that turns the sampler's coordinate, mip, and filter request into texture reads and a filtered result. Read its count within the vendor and generation that define it, not as a common unit across GPUs. To judge real performance, examine texture processing, cache, memory, and shader work together under the same workload.