[Mesa-dev] [PATCH 1/2] radeonsi: Re-enable Z16 depth buffers.

Christian König deathsimple at vodafone.de
Wed Nov 28 02:22:00 PST 2012


On 27.11.2012 19:11, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> 8 more piglits.
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

Maybe we should keep the warning in the second patch additionally to the 
assert, anyway both patches are:

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>   src/gallium/drivers/radeonsi/si_state.c |    4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
> index 95ea860..f7c80a2 100644
> --- a/src/gallium/drivers/radeonsi/si_state.c
> +++ b/src/gallium/drivers/radeonsi/si_state.c
> @@ -1100,8 +1100,8 @@ static unsigned si_colorformat_max_comp_size(uint32_t colorformat)
>   static uint32_t si_translate_dbformat(enum pipe_format format)
>   {
>   	switch (format) {
> -	//case PIPE_FORMAT_Z16_UNORM:
> -	//	return V_028040_Z_16;
> +	case PIPE_FORMAT_Z16_UNORM:
> +		return V_028040_Z_16;
>   	case PIPE_FORMAT_Z24X8_UNORM:
>   	case PIPE_FORMAT_Z24_UNORM_S8_UINT:
>   		return V_028040_Z_24; /* XXX no longer supported on SI */



More information about the mesa-dev mailing list