gallium/radeon: update documentation of buffer_get_virtual_address
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 29 Sep 2016 14:47:27 +0000 (16:47 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 30 Sep 2016 10:41:41 +0000 (12:41 +0200)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/radeon_winsys.h

index d0705d66bcda23f65c90e910b9d497dd10f57eda..e8fc6d62c4337eb5fef249b91d40baf736946df0 100644 (file)
@@ -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
      */