From cfd870de70d437c0d62afb9eec675f81bf45be6a Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Thu, 29 Sep 2016 16:47:27 +0200 Subject: gallium/radeon: update documentation of buffer_get_virtual_address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/gallium/drivers/radeon/radeon_winsys.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers') 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 */ -- cgit v1.2.3