[Mesa-dev] [PATCH] radv/image: resize some surface members.

Dave Airlie airlied at gmail.com
Tue May 2 00:31:55 UTC 2017


From: Dave Airlie <airlied at redhat.com>

Oops meant to be part of previous series.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/amd/vulkan/radv_radeon_winsys.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/amd/vulkan/radv_radeon_winsys.h b/src/amd/vulkan/radv_radeon_winsys.h
index 5614d8b..84b1d73 100644
--- a/src/amd/vulkan/radv_radeon_winsys.h
+++ b/src/amd/vulkan/radv_radeon_winsys.h
@@ -159,9 +159,9 @@ struct radeon_surf_info {
 	uint32_t width;
 	uint32_t height;
 	uint32_t depth;
-	uint32_t samples;
-	uint32_t array_size;
-	uint32_t levels;
+	uint8_t samples;
+	uint8_t levels;
+	uint16_t array_size;
 };
 
 struct radeon_surf_level {
@@ -172,9 +172,9 @@ struct radeon_surf_level {
 	uint32_t                    nblk_z;
 	uint32_t                    pitch_bytes;
 	uint32_t                    mode;
+	bool                        dcc_enabled;
 	uint64_t                    dcc_offset;
 	uint64_t                    dcc_fast_clear_size;
-	bool                        dcc_enabled;
 };
 
 
-- 
2.9.3



More information about the mesa-dev mailing list