[Mesa-dev] line anti aliasing on r700 and r600

Alex Deucher alexdeucher at gmail.com
Wed Jun 15 11:39:34 PDT 2011


On Wed, Jun 15, 2011 at 2:14 PM, Jeffrey Collins <tildejac at hotmail.com> wrote:
> Does line anti aliasing work for r600 and r700 processors? It does not seem
> to change anything visually when I
> set PA_SC_AA_MASK.u32All, PA_SC_AA_SAMPLE_LOCS_MCTX.u32All, PA_SC_AA_SAMPLE_LOCS_8S_WD1_MCTX.u32All
> and PA_SC_AA_CONFIG.u32All to what would seem to be reasonable values in
> r700InitState.

Those regs are for MSAA.  For primitive AA (lines, points, etc.), you
need to add instructions to the fragment shader.  It works similarly
to r3xx-r5xx.  See section 10.7 of the r5xx acceleration guide:
http://www.x.org/docs/AMD/R5xx_Acceleration_v1.5.pdf

Alex


More information about the mesa-dev mailing list