anv: Put back code to grow shader scratch space
This was lost in commit a71e614d33
.
This commit is contained in:
parent
38a3a535eb
commit
b833e7a63c
|
@ -1182,6 +1182,10 @@ anv_pipeline_init(struct anv_pipeline *pipeline,
|
|||
if (extra && extra->use_rectlist)
|
||||
pipeline->topology = _3DPRIM_RECTLIST;
|
||||
|
||||
while (anv_block_pool_size(&device->scratch_block_pool) <
|
||||
pipeline->total_scratch)
|
||||
anv_block_pool_alloc(&device->scratch_block_pool);
|
||||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue