[Mesa-dev] [PATCH 2/8] radeon: add basic register setup for per-sample shading

Marek Olšák maraeo at gmail.com
Mon May 12 09:40:46 PDT 2014


On Mon, May 12, 2014 at 9:54 AM, Michel Dänzer <michel at daenzer.net> wrote:
> On 07.05.2014 23:00, Marek Olšák wrote:
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> Only for Cayman, SI, CIK.
>
> [...]
>
>> diff --git a/src/gallium/drivers/radeon/r600d_common.h b/src/gallium/drivers/radeon/r600d_common.h
>> index 1172af0..fa6131f 100644
>> --- a/src/gallium/drivers/radeon/r600d_common.h
>> +++ b/src/gallium/drivers/radeon/r600d_common.h
>> @@ -160,6 +160,9 @@
>>  #define   G_028B98_STREAM_3_BUFFER_EN(x)                              (((x) >> 12) & 0x0F)
>>  #define   C_028B98_STREAM_3_BUFFER_EN                                 0xFFFF0FFF
>>
>> +#define EG_R_028A4C_PA_SC_MODE_CNTL_1                0x028A4C
>> +#define   EG_S_028A4C_PS_ITER_SAMPLE(x)                 (((x) & 0x1) << 16)
>
> Shouldn't this be CM_* instead of EG_*?

The register first appeared on Evergreen and I added the prefix so
that it doesn't collide with evergreend.h.

Marek


More information about the mesa-dev mailing list