diff options
author | Eric Anholt <[email protected]> | 2016-10-13 12:37:59 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-10-13 14:27:30 -0700 |
commit | 99d790538de2e7d7d489a8638b13c5aa069c27c3 (patch) | |
tree | 69782db7d286337514bfa40abcff983090fbab14 /src/mesa/main/debug.c | |
parent | 0717cd975d85eb04389d84c54b796863aa537cf0 (diff) |
vc4: Avoid loading from the texture during non-utile-aligned glTexImage().
Previously, the plan was "if the width/height we have to load/store isn't
the size the user is planning on writing, then we need to load the old
contents out beforehand to prevent writing back undefined".
However, when we're doing glTexImage() we often end up aligning the
width/height into the padding of the texture, and we don't actually
need to read out that padding.
Improves x11perf -aatrapezoid100 performance from ~460/sec to
~700/sec.
Diffstat (limited to 'src/mesa/main/debug.c')
0 files changed, 0 insertions, 0 deletions