summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-05-08 13:40:44 -0700
committerEric Anholt <[email protected]>2012-05-14 16:51:00 -0700
commitf7a71e2570053205eb603aa04b8c52d4f54d8e4c (patch)
tree6275443c6d0ab980766a591ae4bbfd078bf595eb /src/mesa/main/image.c
parent206eca631b596154e8a9bf6a2d0de9fdb644b3cc (diff)
i965/fs: When doing no work for live interval calculation, do no allocation.
When I had a bug causing the backend to never finish optimizing, it also sent me deep into swap. This avoids extra memory allocation per trip through optimization, and thus may reduce the peak memory allocation of the driver even in the success case. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/image.c')
0 files changed, 0 insertions, 0 deletions