On 07/17/2012 03:16 PM, Anuj Phogat wrote: > OpenGL specification 3.3 (page 196), section 4.1.3 says: > If drawbuffer zero is not NONE and the buffer it references has an > integer format, the SAMPLE_ALPHA_TO_COVERAGE and SAMPLE_ALPHA_TO_ONE > operations are skipped." > This should work properly even if there are other draw buffers that > are not in integer format. > > This patch makes following piglit tests pass on mesa: > int-draw-buffers-alpha-to-coverage > int-draw-buffers-alpha-to-one > > Note: Patches for these piglit tests are under review on piglit mailing > list. > > Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com> > --- > src/mesa/drivers/dri/i965/gen6_cc.c | 29 ++++++++++++++++++++++------- > 1 files changed, 22 insertions(+), 7 deletions(-)
Reviewed-by: Chad Versace <chad.vers...@linux.intel.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev