1. A graphics processing unit comprising: a driver operable to determine whether single texture mapping is enabled or multi-texture mapping is enabled for a selected application; and a dynamically configurable cache having a first configuration corresponding to a n-way set-associative texture cache, when the single texture mapping is enabled, and a second configuration corresponding to a set of n/M-way set-associative sub-caches, when the multi-texture mapping is enabled, where n and M are integers greater than 1 and n is divisible by M.