Module: Mesa Branch: main Commit: 916621e5a57744f366f50aad8a6f4c0562021900 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=916621e5a57744f366f50aad8a6f4c0562021900
Author: Konstantin Seurer <[email protected]> Date: Sat Sep 10 20:35:53 2022 +0200 radv: Make the radv_buffer_get_va parameter const Signed-off-by: Konstantin Seurer <[email protected]> Reviewed-by: Friedrich Vock <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18530> --- src/amd/vulkan/radv_radeon_winsys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_radeon_winsys.h b/src/amd/vulkan/radv_radeon_winsys.h index 9807562ff5d..4d2f91d0a08 100644 --- a/src/amd/vulkan/radv_radeon_winsys.h +++ b/src/amd/vulkan/radv_radeon_winsys.h @@ -323,7 +323,7 @@ radeon_emit_array(struct radeon_cmdbuf *cs, const uint32_t *values, unsigned cou } static inline uint64_t -radv_buffer_get_va(struct radeon_winsys_bo *bo) +radv_buffer_get_va(const struct radeon_winsys_bo *bo) { return bo->va; }
