diff options
author | Bruno Jiménez <[email protected]> | 2014-07-07 17:50:05 +0200 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2014-07-25 17:51:57 -0400 |
commit | 4ca04f31122cacce249e98ed8985964bcb0d91e9 (patch) | |
tree | 21233feb0fe124b1924bc01ccce88088837ced7d /src/glsl/ast_array_index.cpp | |
parent | 5eb11eb1921020afc1fb099ecb275f91d9fc791d (diff) |
r600g/compute: Try to use a temporary resource when growing the pool
Now, before moving everything to host memory, we try to create a
new resource to use as a pool. I we succeed we just use this resource
and delete the previous one. If we fail we fallback to using the
shadow.
This should make growing the pool faster, and we can also save
64KB of memory that were allocated for the 'shadow', even if they
weren't used.
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/glsl/ast_array_index.cpp')
0 files changed, 0 insertions, 0 deletions