gallium/radeon: re-order radeon_surf::dcc and htile members
authorMarek Olšák <marek.olsak@amd.com>
Sun, 23 Oct 2016 19:28:29 +0000 (21:28 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 26 Oct 2016 11:02:58 +0000 (13:02 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/radeon_winsys.h

index cec1274abeec42bc7f5f1f0099d2f92fdea3da54..2330cddf631eb933d16354af9e32bea4bc4d8f93 100644 (file)
@@ -298,7 +298,12 @@ struct radeon_surf {
      * changed by the calculator.
      */
     uint64_t                    surf_size;
+    uint64_t                    dcc_size;
+    uint64_t                    htile_size;
+
     uint32_t                    surf_alignment;
+    uint32_t                    dcc_alignment;
+    uint32_t                    htile_alignment;
 
     /* This applies to EG and later. */
     unsigned                    bankw:4;  /* max 8 */
@@ -323,11 +328,6 @@ struct radeon_surf {
     struct radeon_surf_level    stencil_level[RADEON_SURF_MAX_LEVELS];
     uint8_t                     tiling_index[RADEON_SURF_MAX_LEVELS];
     uint8_t                     stencil_tiling_index[RADEON_SURF_MAX_LEVELS];
-
-    uint64_t                    dcc_size;
-    uint32_t                    dcc_alignment;
-    uint64_t                    htile_size;
-    uint32_t                    htile_alignment;
 };
 
 struct radeon_bo_list_item {