[Piglit] [PATCH] Add test to switch on/off MSAA in FBO

Brian Paul brianp at vmware.com
Tue Apr 17 11:56:28 PDT 2012


On 04/17/2012 09:53 AM, Anuj Phogat wrote:
> This is the draft version of test case.
> Note: This patch requires utility function piglit_draw_triangle.
>        Patch for the same has been posted to mailing list.
> Signed-off-by: Anuj Phogat<anuj.phogat at gmail.com>
> ---
> Keeping mailing list in CC.
> Paul, I changed the rectangles with triangles. I can clearly see aliasing
> effect, But I still don't see any MSAA happening on ATI. Could you please
> try this on NVIDIA?
>


OpenGL renderer string: GeForce GTX 570/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.33
OpenGL shading language version string: 4.20 NVIDIA via Cg compiler

$ bin/ext_framebuffer_multisample-turn-on-off -auto
GL_SAMPLES = 0, GL_SAMPLE_BUFFERS = 0, MSAA = 0
GL_SAMPLES = 32, GL_SAMPLE_BUFFERS = 1, MSAA = 1
Probe at (306,0)
   Expected: 0.000000 0.000000 1.000000 1.000000
   Observed: 0.000000 0.000000 0.913725 1.000000
PIGLIT: {'result': 'fail' }


The rendering looks OK to me (left figure is aliased, right figure is 
antialiased).

-Brian


More information about the Piglit mailing list