summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_image.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-05-10 22:33:13 +0200
committerDave Airlie <[email protected]>2017-06-05 10:44:02 +1000
commit8417c21d0a2bc691308b61672a31737150edde3c (patch)
treea49bb502ca88337d5dc6de4525ee7dcf6b94d36d /src/amd/vulkan/radv_image.c
parente156eaedb4a9c018c6381c1d59743ec2659aff37 (diff)
radv: remove unused RADEON_SURF_HAS_SBUFFER_MIPTREE
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_image.c')
-rw-r--r--src/amd/vulkan/radv_image.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c
index ced88b980f6..8b3eb49f5f4 100644
--- a/src/amd/vulkan/radv_image.c
+++ b/src/amd/vulkan/radv_image.c
@@ -103,8 +103,7 @@ radv_init_surface(struct radv_device *device,
}
if (is_stencil)
- surface->flags |= RADEON_SURF_SBUFFER |
- RADEON_SURF_HAS_SBUFFER_MIPTREE;
+ surface->flags |= RADEON_SURF_SBUFFER;
surface->flags |= RADEON_SURF_HAS_TILE_MODE_INDEX;