radv: Fix callback signatures
authorJames Park <jpark37@lagfreegames.com>
Fri, 27 Nov 2020 03:11:33 +0000 (19:11 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 2 Dec 2020 11:27:01 +0000 (11:27 +0000)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7866>

src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c
src/amd/vulkan/winsys/null/radv_null_bo.c

index d775f5bcaa5d56e3ba42de12eeebc55627352a9c..917eb9069ae51ece9413110539beeb9a1076f9bc 100644 (file)
@@ -342,7 +342,7 @@ radv_amdgpu_winsys_bo_create(struct radeon_winsys *_ws,
                             uint64_t size,
                             unsigned alignment,
                             enum radeon_bo_domain initial_domain,
-                            unsigned flags,
+                            enum radeon_bo_flag flags,
                             unsigned priority)
 {
        struct radv_amdgpu_winsys *ws = radv_amdgpu_winsys(_ws);
index 41e88a24a2c4fa3d7f3b7c8d64fcdc08f832e160..da6b59d578e5c25f3e637ef09c6cdc339b30a9bf 100644 (file)
@@ -33,7 +33,7 @@ radv_null_winsys_bo_create(struct radeon_winsys *_ws,
                           uint64_t size,
                           unsigned alignment,
                           enum radeon_bo_domain initial_domain,
-                          unsigned flags,
+                          enum radeon_bo_flag flags,
                           unsigned priority)
 {
        struct radv_null_winsys_bo *bo;