summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_bufmgr.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-11-20 00:11:18 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:10 -0800
commit017b5566098b9ef7e48f33f60b26712298cd5700 (patch)
treea7d1c7ca8acf46c61ce3eeb87d6483486336df93 /src/gallium/drivers/iris/iris_bufmgr.h
parentf459c56be6bf33439cccc11e932b2b5b52ba7ad8 (diff)
iris: leave a TODO
Diffstat (limited to 'src/gallium/drivers/iris/iris_bufmgr.h')
-rw-r--r--src/gallium/drivers/iris/iris_bufmgr.h4
1 files changed, 4 insertions, 0 deletions
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;