radv/amdgpu: Fix mismatching return type of radv_amdgpu_cs_submit.

Fixes a warning that is reported by GCC 13.

Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22354>
(cherry picked from commit a7080fe4ef)
This commit is contained in:
Timur Kristóf 2023-04-08 14:28:50 +02:00 committed by Dylan Baker
parent 194136dc1a
commit 4ca646f277
2 changed files with 4 additions and 4 deletions

View file

@ -4534,7 +4534,7 @@
"description": "radv/amdgpu: Fix mismatching return type of radv_amdgpu_cs_submit.",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -161,9 +161,9 @@ struct radv_amdgpu_cs_request {
uint64_t seq_no;
};
static int radv_amdgpu_cs_submit(struct radv_amdgpu_ctx *ctx,
struct radv_amdgpu_cs_request *request,
struct radv_winsys_sem_info *sem_info);
static VkResult radv_amdgpu_cs_submit(struct radv_amdgpu_ctx *ctx,
struct radv_amdgpu_cs_request *request,
struct radv_winsys_sem_info *sem_info);
static void
radv_amdgpu_request_to_fence(struct radv_amdgpu_ctx *ctx, struct radv_amdgpu_fence *fence,