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

Timothy Arceri tarceri at itsqueeze.com
Tue May 2 04:23:45 UTC 2017



On 02/05/17 10:31, Dave Airlie wrote:
> 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;

Is this meant to be in this commit? It doesn't really match the subject, 
maybe more into the patch you sent after this?

With that:

Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>

>   };
>   
>   
> 


More information about the mesa-dev mailing list