diff options
author | Eric Anholt <[email protected]> | 2013-02-19 17:01:41 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-03-11 12:11:54 -0700 |
commit | 11b8df0c0141c5759025985ba99e782a2dfd720c (patch) | |
tree | 7424e0529ff34b6ad6d20388e4fdafc8cb4db708 /src/glx/apple | |
parent | 6aa3afbfd6b737350351e9ea22ba9de1accda52d (diff) |
mesa: Reduce memory usage for reg alloc with many graph nodes (part 2).
After the previous fix that almost removes an allocation of 4*n^2
bytes, we can use a bitset to reduce another allocation from n^2 bytes
to n^2/8 bytes.
Between the previous commit and this one, the peak heap size for an
oglconform ARB_fragment_program max instructions test on i965 goes from
4GB to 255MB.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55825
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glx/apple')
0 files changed, 0 insertions, 0 deletions