From: Nicolai Hähnle Date: Thu, 29 Sep 2016 14:47:27 +0000 (+0200) Subject: gallium/radeon: update documentation of buffer_get_virtual_address X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfd870de70d437c0d62afb9eec675f81bf45be6a;p=mesa.git gallium/radeon: update documentation of buffer_get_virtual_address Reviewed-by: Marek Olšák --- 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 */