diff options
author | Maciej Cencora <m.cencora@gmail.com> | 2010-07-11 15:39:48 +0200 |
---|---|---|
committer | Maciej Cencora <m.cencora@gmail.com> | 2010-07-11 15:39:48 +0200 |
commit | 72e6a1e72f21653295165320fbca6961eddc9eb3 (patch) | |
tree | eee7197078c556c62482bde09f680133662c4e2b /src/mesa/program/hash_table.c | |
parent | ad24ea37bb0cef7b383bb38e31466b6bb1f7fce6 (diff) |
radeon: lower texture memory consumption is some cases
When searching for valid miptree check images in range
of [BaseLeve, MaxLevel] not [MinLod, MaxLoad].
Prevents unnecessary miptree allocations in cases when during
every rendering operation different texture image level
was selected using MIN_LOD = MAX_LOD = level (for every level
new miptree for whole texture was allocated).
Candidate for 7.8 branch.
Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
Diffstat (limited to 'src/mesa/program/hash_table.c')
0 files changed, 0 insertions, 0 deletions