r600g: Make sure to init the compute memory pool with enough memory

This commit is contained in:
Tom Stellard 2012-09-13 17:10:09 +00:00
parent 2508d43c36
commit 5cd1c65dc1

View file

@ -198,7 +198,7 @@ void compute_memory_grow_pool(struct compute_memory_pool* pool,
"use more than 64 kb of memory");
if (!pool->bo) {
compute_memory_pool_init(pool, 1024 * 16);
compute_memory_pool_init(pool, MAX2(new_size_in_dw, 1024 * 16));
} else {
/* XXX: Growing memory pools does not work at the moment. I think
* it is because we are using fragment shaders to copy data to