From 319f56e6750e6bbafab98445b583465cab9535ea Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 30 Nov 2017 14:32:58 +0100 Subject: radv: remove set but unnecessary radv_color_buffer_info::micro_tile_mode Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_device.c | 1 - src/amd/vulkan/radv_private.h | 1 - 2 files changed, 2 deletions(-) (limited to 'src/amd/vulkan') diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 336cb125a09..62591c7e3db 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -2945,7 +2945,6 @@ radv_initialise_color_surface(struct radv_device *device, cb->cb_color_cmask_slice = iview->image->cmask.slice_tile_max; cb->cb_color_attrib |= S_028C74_TILE_MODE_INDEX(tile_mode_index); - cb->micro_tile_mode = iview->image->surface.micro_tile_mode; if (iview->image->fmask.size) { if (device->physical_device->rad_info.chip_class >= CIK) diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index e8c7af7c641..88ddaf5b9b6 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1455,7 +1455,6 @@ struct radv_color_buffer_info { uint32_t cb_color_fmask_slice; uint32_t cb_clear_value0; uint32_t cb_clear_value1; - uint32_t micro_tile_mode; }; struct radv_ds_buffer_info { -- cgit v1.2.3