From 8417c21d0a2bc691308b61672a31737150edde3c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Wed, 10 May 2017 22:33:13 +0200 Subject: [PATCH] radv: remove unused RADEON_SURF_HAS_SBUFFER_MIPTREE Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_image.c | 3 +-- src/amd/vulkan/radv_radeon_winsys.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c index ced88b9..8b3eb49 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; diff --git a/src/amd/vulkan/radv_radeon_winsys.h b/src/amd/vulkan/radv_radeon_winsys.h index b4fc781..660bea5 100644 --- a/src/amd/vulkan/radv_radeon_winsys.h +++ b/src/amd/vulkan/radv_radeon_winsys.h @@ -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) -- 2.7.4