[Mesa-dev] [PATCH] r600g: fix typo in r600 register definitions

eocallaghan at alterapraxis.com eocallaghan at alterapraxis.com
Sat Apr 9 12:12:21 UTC 2016


Acked-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>

On 2016-04-09 09:12, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
> 
> ---
>  src/gallium/drivers/r600/r600d.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/r600/r600d.h 
> b/src/gallium/drivers/r600/r600d.h
> index 3d223ed..ef99573 100644
> --- a/src/gallium/drivers/r600/r600d.h
> +++ b/src/gallium/drivers/r600/r600d.h
> @@ -780,7 +780,7 @@
>  #define   S_028D0C_STENCIL_COMPRESS_DISABLE(x)         (((x) & 0x1) << 
> 5)
>  #define   S_028D0C_DEPTH_COMPRESS_DISABLE(x)           (((x) & 0x1) << 
> 6)
>  #define   S_028D0C_COPY_CENTROID(x)                    (((x) & 0x1) << 
> 7)
> -#define   S_028D0C_COPY_SAMPLE(x)                      (((x) & 0x1) << 
> 8)
> +#define   S_028D0C_COPY_SAMPLE(x)                      (((x) & 0x03) 
> << 8)
>  #define   S_028D0C_R700_PERFECT_ZPASS_COUNTS(x)        (((x) & 0x1) << 
> 15)
>  #define   S_028D0C_CONSERVATIVE_Z_EXPORT(x)            (((x) & 0x03) 
> << 13)
>  #define   G_028D0C_CONSERVATIVE_Z_EXPORT(x)            (((x) >> 13) & 
> 0x03)



More information about the mesa-dev mailing list