mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 19:00:13 +01:00
r600g: Make sure to init the compute memory pool with enough memory
This commit is contained in:
parent
2508d43c36
commit
5cd1c65dc1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue