radv: remove set but unnecessary radv_color_buffer_info::micro_tile_mode
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 30 Nov 2017 13:32:58 +0000 (14:32 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 30 Nov 2017 20:38:00 +0000 (21:38 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h

index 336cb125a0998fcc52191d7cd7612543784827f0..62591c7e3db9ddd6c49485ae07857d123ba5aa3d 100644 (file)
@@ -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)
index e8c7af7c6416324b8861f6fdd94a5004aec1684e..88ddaf5b9b6375e42e056ac74a6c1faf7d16c77e 100644 (file)
@@ -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 {