diff options
author | Dave Airlie <[email protected]> | 2017-05-02 10:12:36 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-05-03 06:00:38 +1000 |
commit | 5d0f792f067585edb6496bc4deec6af3875835e3 (patch) | |
tree | d58bd1a896cebae3fae345857c85d170a8dc65b5 /src/amd/vulkan/winsys | |
parent | 052487be4ccd6b4ad7a8f0fac22729bb72acf549 (diff) |
radv/image: drop blk_d
This was pretty much unused.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/winsys')
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c index 55bbd3014c3..2cbf929514c 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c @@ -60,7 +60,7 @@ static int radv_amdgpu_surface_sanity(const struct radeon_surf_info *surf_info, !surf_info->array_size) return -EINVAL; - if (!surf->blk_w || !surf->blk_h || !surf->blk_d) + if (!surf->blk_w || !surf->blk_h) return -EINVAL; switch (surf_info->samples) { |