From: Tom Stellard <thomas.stell...@amd.com> --- src/gallium/drivers/r600/compute_memory_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/compute_memory_pool.c b/src/gallium/drivers/r600/compute_memory_pool.c index bd3c14d..5e25a1d 100644 --- a/src/gallium/drivers/r600/compute_memory_pool.c +++ b/src/gallium/drivers/r600/compute_memory_pool.c @@ -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 -- 1.7.11.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev