diff options
author | Eric Anholt <[email protected]> | 2013-08-30 13:03:52 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-09-30 14:35:42 -0700 |
commit | 16060c5adcd4d809f97e874fcde763260c17ac18 (patch) | |
tree | 0aac97e8759c5639552c564df8d655c3f81c3b51 /docs | |
parent | 97bdb4c039bb33dbbcbb43d0fd0bb24106777ae9 (diff) |
i965: Don't relayout a texture just for baselevel changes.
As long as the baselevel, maxlevel still sit inside the range we had
previously validated, there's no need to reallocate the texture.
I also hope this makes our texture validation logic much more obvious.
It's taken me enough tries to write this change, that's for sure. Reduces
miptree copy count on a piglit run by 1.3%, though the change in amount of
data moved is much smaller.
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions