On Wed, May 7, 2014 at 10:00 AM, Marek Olšák <mar...@gmail.com> wrote: > +static void si_set_min_samples(struct pipe_context *ctx, unsigned > min_samples) > +{ > + struct si_context *sctx = (struct si_context *)ctx; > + > + if (sctx->ps_iter_samples == min_samples) > + return; > + > + sctx->ps_iter_samples = min_samples; > + > + if (sctx->framebuffer.nr_samples > 1) > + sctx->msaa_config.dirty = true; > }
I don't know your HW, but keep in mind that there's nothing preventing one from using gl_SamplePosition/etc without a MS framebuffer. With the piglit tests, that's passing '1' or '0' as the arguments for the number of samples. -ilia _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev