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

2011-06-15 Thread Jeffrey Collins

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.
Jeff Collins  ___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


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

2011-06-15 Thread Alex Deucher
On Wed, Jun 15, 2011 at 2:14 PM, Jeffrey Collins tilde...@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
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev