radv: remove unused RADEON_SURF_HAS_SBUFFER_MIPTREE
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 10 May 2017 20:33:13 +0000 (22:33 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Jun 2017 00:44:02 +0000 (10:44 +1000)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_radeon_winsys.h

index ced88b980f660a0ab91681476258d3883693a2fe..8b3eb49f5f486c2f84a5d5bbd0d8d9d1142e5d21 100644 (file)
@@ -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;
 
index b4fc78197d2fe8b7ff461540962b172d7db9d3e8..660bea582558acc92a246d9fde17f2c9634c273a 100644 (file)
@@ -145,7 +145,6 @@ struct radeon_info {
 #define RADEON_SURF_ZBUFFER                     (1 << 17)
 #define RADEON_SURF_SBUFFER                     (1 << 18)
 #define RADEON_SURF_Z_OR_SBUFFER                (RADEON_SURF_ZBUFFER | RADEON_SURF_SBUFFER)
-#define RADEON_SURF_HAS_SBUFFER_MIPTREE         (1 << 19)
 #define RADEON_SURF_HAS_TILE_MODE_INDEX         (1 << 20)
 #define RADEON_SURF_FMASK                       (1 << 21)
 #define RADEON_SURF_DISABLE_DCC                 (1 << 22)