summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_array_index.cpp
diff options
context:
space:
mode:
authorBruno JimĂ©nez <[email protected]>2014-07-07 17:50:05 +0200
committerTom Stellard <[email protected]>2014-07-25 17:51:57 -0400
commit4ca04f31122cacce249e98ed8985964bcb0d91e9 (patch)
tree21233feb0fe124b1924bc01ccce88088837ced7d /src/glsl/ast_array_index.cpp
parent5eb11eb1921020afc1fb099ecb275f91d9fc791d (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