mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 11:50:09 +01:00
iris: flag SBA updates when instruction BO changes
This commit is contained in:
parent
7d90cc8da4
commit
f31ae76216
2 changed files with 8 additions and 2 deletions
|
|
@ -160,6 +160,8 @@ recreate_cache_bo(struct iris_context *ice, uint32_t size)
|
|||
iris_bo_unreference(old_bo);
|
||||
iris_bo_unmap(old_bo);
|
||||
}
|
||||
|
||||
ice->state.dirty |= IRIS_DIRTY_STATE_BASE_ADDRESS;
|
||||
}
|
||||
|
||||
const void *
|
||||
|
|
|
|||
|
|
@ -1271,8 +1271,12 @@ iris_setup_state_base_address(struct iris_context *ice,
|
|||
struct iris_batch *batch,
|
||||
struct iris_bo *instruction_bo)
|
||||
{
|
||||
if (ice->state.dirty & IRIS_DIRTY_STATE_BASE_ADDRESS)
|
||||
ice->state.dirty &= ~IRIS_DIRTY_STATE_BASE_ADDRESS;
|
||||
if (!(ice->state.dirty & IRIS_DIRTY_STATE_BASE_ADDRESS))
|
||||
return;
|
||||
|
||||
//iris_batchbuffer_flush(...)
|
||||
|
||||
ice->state.dirty &= ~IRIS_DIRTY_STATE_BASE_ADDRESS;
|
||||
|
||||
/* XXX: PIPE_CONTROLs */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue