diff options
author | Marek Olšák <[email protected]> | 2017-07-28 21:44:47 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-08-04 02:10:04 +0200 |
commit | d311e837f4c73e2b4985b07feb585050dc7a09a5 (patch) | |
tree | df2678a5088daadb17536ed30479df19ed33c046 /src/amd/vulkan/winsys | |
parent | 4662e45350d54d55950253d361321ba6cb291c68 (diff) |
ac/surface: remove RADEON_SURF_HAS_TILE_MODE_INDEX
it's useless
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/vulkan/winsys')
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c index eaa978e3850..e3ccb812a7f 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c @@ -42,9 +42,6 @@ static int radv_amdgpu_surface_sanity(const struct ac_surf_info *surf_info, { unsigned type = RADEON_SURF_GET(surf->flags, TYPE); - if (!(surf->flags & RADEON_SURF_HAS_TILE_MODE_INDEX)) - return -EINVAL; - if (!surf->blk_w || !surf->blk_h) return -EINVAL; |