diff options
author | Rafael Antognolli <[email protected]> | 2018-11-02 16:06:34 -0700 |
---|---|---|
committer | Rafael Antognolli <[email protected]> | 2019-01-17 15:08:10 -0800 |
commit | f39dad7e4e13af9c6b3442c4b8e7498bc5c9f8db (patch) | |
tree | 68874ee527a79e566c08b3689ad8db6762349ef7 /src/intel/vulkan/anv_allocator.c | |
parent | 11a5d4620ba289d3b438524862e0f04df0e421b4 (diff) |
anv: Validate the list of BOs from the block pool.
We now have multiple BOs in the block pool, but sometimes we still
reference only the first one in some instructions, and use relative
offsets in others. So we must be sure to add all the BOs from the block
pool to the validation list when submitting commands.
v2:
- Don't add block pool BOs to the dependency list right before
execbuf (Jason)
- Call anv_execbuf_add_bo() to each BO in the block pools (Jason)
- Use anv_execbuf_add_bo_set() to add surface state dependencies to
execbuf.
v3:
- Add comment to the non-softpin case (Jason).
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_allocator.c')
0 files changed, 0 insertions, 0 deletions