summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_bufmgr.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-05-18 12:02:39 -0700
committerMatt Turner <[email protected]>2017-06-06 11:47:46 -0700
commit47bb4985346a1ae7d8da06c591e7a3f05068ee99 (patch)
treeb0379ef506166ccf4cb9dc96ab4f1fdc3e5d43ea /src/mesa/drivers/dri/i965/brw_bufmgr.h
parent51d714dca62373841028ebb67e50de68d0e2adfe (diff)
i965: Add a cache_coherent field to brw_bo
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_bufmgr.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_bufmgr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h b/src/mesa/drivers/dri/i965/brw_bufmgr.h
index 1e3e8cff456..6ce14bbcba6 100644
--- a/src/mesa/drivers/dri/i965/brw_bufmgr.h
+++ b/src/mesa/drivers/dri/i965/brw_bufmgr.h
@@ -123,6 +123,11 @@ struct brw_bo {
* Boolean of whether this buffer can be re-used
*/
bool reusable;
+
+ /**
+ * Boolean of whether this buffer is cache coherent
+ */
+ bool cache_coherent;
};
#define BO_ALLOC_FOR_RENDER (1<<0)