iris: fix the validation list on new batches

This commit is contained in:
Kenneth Graunke
2018-06-13 03:07:00 -07:00
parent 80dee31846
commit 3f863cf680
3 changed files with 129 additions and 0 deletions

View File

@@ -207,6 +207,7 @@ create_batch(struct iris_batch *batch)
batch->bo->kflags |= EXEC_OBJECT_CAPTURE;
batch->map = iris_bo_map(NULL, batch->bo, MAP_READ | MAP_WRITE);
batch->map_next = batch->map;
batch->contains_draw = false;
add_exec_bo(batch, batch->bo);
}