summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/winsys
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-09-24 17:26:41 +0200
committerBas Nieuwenhuizen <[email protected]>2019-10-10 17:02:34 +0000
commite1469c02cf424e38ab67a83fdffdad5b3ae830d0 (patch)
tree58b1f1ce66703dc7b4cd2afedf61926d61231cdb /src/amd/vulkan/winsys
parent6397dff6d77213e7a6b964ac4b4200965ee092c5 (diff)
radv: Cleanup buffer_from_fd.
Unused stride/offset args. Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/winsys')
-rw-r--r--src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c
index bd5ffbe7961..d75c1287094 100644
--- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c
+++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c
@@ -533,9 +533,7 @@ error:
static struct radeon_winsys_bo *
radv_amdgpu_winsys_bo_from_fd(struct radeon_winsys *_ws,
- int fd, unsigned priority,
- unsigned *stride,
- unsigned *offset)
+ int fd, unsigned priority)
{
struct radv_amdgpu_winsys *ws = radv_amdgpu_winsys(_ws);
struct radv_amdgpu_winsys_bo *bo;