summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-09-29 16:47:27 +0200
committerNicolai Hähnle <[email protected]>2016-09-30 12:41:41 +0200
commitcfd870de70d437c0d62afb9eec675f81bf45be6a (patch)
treec2e2b5494b0d2101f30d45274da09edec51af5bb /src/gallium/drivers
parentfd9f54223dd8056bc4e9e17c53fe075e33a40f1f (diff)
gallium/radeon: update documentation of buffer_get_virtual_address
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeon/radeon_winsys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h
index d0705d66bcd..e8fc6d62c43 100644
--- a/src/gallium/drivers/radeon/radeon_winsys.h
+++ b/src/gallium/drivers/radeon/radeon_winsys.h
@@ -506,6 +506,9 @@ struct radeon_winsys {
/**
* Return the virtual address of a buffer.
*
+ * When virtual memory is not in use, this is the offset relative to the
+ * relocation base (non-zero for sub-allocated buffers).
+ *
* \param buf A winsys buffer object
* \return virtual address
*/