mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 23:50:11 +01:00
anv: fix missing general state pool in validation list
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 83fee30e85 ("anv: allow multiple command buffers in anv_queue_submit")
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9388>
This commit is contained in:
parent
f3f4a24549
commit
0f437e49c6
1 changed files with 7 additions and 0 deletions
|
|
@ -1647,6 +1647,13 @@ setup_execbuf_for_cmd_buffers(struct anv_execbuf *execbuf,
|
|||
return result;
|
||||
}
|
||||
|
||||
pool = &device->general_state_pool.block_pool;
|
||||
anv_block_pool_foreach_bo(bo, pool) {
|
||||
result = anv_execbuf_add_bo(device, execbuf, bo, NULL, 0);
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
}
|
||||
|
||||
pool = &device->instruction_state_pool.block_pool;
|
||||
anv_block_pool_foreach_bo(bo, pool) {
|
||||
result = anv_execbuf_add_bo(device, execbuf, bo, NULL, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue