From 017b5566098b9ef7e48f33f60b26712298cd5700 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 20 Nov 2018 00:11:18 -0800 Subject: [PATCH] iris: leave a TODO --- src/gallium/drivers/iris/iris_bufmgr.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/iris/iris_bufmgr.h b/src/gallium/drivers/iris/iris_bufmgr.h index 9210f44c944..e6ff85ef415 100644 --- a/src/gallium/drivers/iris/iris_bufmgr.h +++ b/src/gallium/drivers/iris/iris_bufmgr.h @@ -119,6 +119,10 @@ struct iris_bo { * It should not be considered authoritative, but can be used to avoid a * linear walk of the validation list in the common case by guessing that * exec_bos[bo->index] == bo and confirming whether that's the case. + * + * XXX: this is not ideal now that we have more than one batch per context, + * XXX: as the index will flop back and forth between the render index and + * XXX: compute index... */ unsigned index; -- 2.30.2