Module: Mesa
Branch: master
Commit: cfd870de70d437c0d62afb9eec675f81bf45be6a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfd870de70d437c0d62afb9eec675f81bf45be6a

Author: Nicolai Hähnle <[email protected]>
Date:   Thu Sep 29 16:47:27 2016 +0200

gallium/radeon: update documentation of buffer_get_virtual_address

Reviewed-by: Marek Olšák <[email protected]>

---

 src/gallium/drivers/radeon/radeon_winsys.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gallium/drivers/radeon/radeon_winsys.h 
b/src/gallium/drivers/radeon/radeon_winsys.h
index d0705d6..e8fc6d6 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
      */

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to