diff options
author | Samuel Pitoiset <[email protected]> | 2018-10-30 11:41:17 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-10-31 09:21:28 +0100 |
commit | d12dd16a970c2ba71358f3b023993676e4555151 (patch) | |
tree | 0219f32c19c00c1570320ba764408991ece3929c | |
parent | d3a0d8b750a6db5bc535f5f0b9c2c83849fee5bb (diff) |
radv/winsys: remove unused surface_best()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_radeon_winsys.h | 3 | ||||
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c | 7 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/amd/vulkan/radv_radeon_winsys.h b/src/amd/vulkan/radv_radeon_winsys.h index 526661754fd..7977d46229e 100644 --- a/src/amd/vulkan/radv_radeon_winsys.h +++ b/src/amd/vulkan/radv_radeon_winsys.h @@ -268,9 +268,6 @@ struct radeon_winsys { const struct ac_surf_info *surf_info, struct radeon_surf *surf); - int (*surface_best)(struct radeon_winsys *ws, - struct radeon_surf *surf); - struct radeon_winsys_fence *(*create_fence)(); void (*destroy_fence)(struct radeon_winsys_fence *fence); bool (*fence_wait)(struct radeon_winsys *ws, diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c index e3ccb812a7f..875ac70de1a 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c @@ -97,14 +97,7 @@ static int radv_amdgpu_winsys_surface_init(struct radeon_winsys *_ws, return ac_compute_surface(ws->addrlib, &ws->info, &config, mode, surf); } -static int radv_amdgpu_winsys_surface_best(struct radeon_winsys *rws, - struct radeon_surf *surf) -{ - return 0; -} - void radv_amdgpu_surface_init_functions(struct radv_amdgpu_winsys *ws) { ws->base.surface_init = radv_amdgpu_winsys_surface_init; - ws->base.surface_best = radv_amdgpu_winsys_surface_best; } |