summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nouveau_buffer.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2013-12-01 21:13:17 -0500
committerMaarten Lankhorst <[email protected]>2013-12-04 16:38:50 +0100
commit06359e368bbe74fd9f7cb15b1801034c58513b36 (patch)
tree6944b48bece1a1615fdc65df045739cb6a8a58b4 /src/gallium/drivers/nouveau/nouveau_buffer.h
parent0e5bf8565106833e1a678ebdae81fdf1657391c9 (diff)
nouveau: Add lots of comments to the buffer transfer logic
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_buffer.h')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_buffer.h b/src/gallium/drivers/nouveau/nouveau_buffer.h
index fd7a3f1287f..aeb9b1796b8 100644
--- a/src/gallium/drivers/nouveau/nouveau_buffer.h
+++ b/src/gallium/drivers/nouveau/nouveau_buffer.h
@@ -33,9 +33,9 @@ struct nv04_resource {
uint64_t address; /* virtual address (nv50+) */
- uint8_t *data;
+ uint8_t *data; /* resource's contents, if domain == 0, or cached */
struct nouveau_bo *bo;
- uint32_t offset;
+ uint32_t offset; /* offset into the data/bo */
uint8_t status;
uint8_t domain;