On Wed, May 7, 2014 at 10:00 AM, Marek Olšák <mar...@gmail.com> wrote: > This series adds support for ARB_sample_shading. > > The problem is that enabling the SAMPLEMASK fragment shader output by setting > DB_SHADER_CONTROL.MASK_EXPORT_ENABLE hangs the GPU. The output is enabled in > the same way as the depth and stencil outputs. If anybody has an idea about > what I'm doing wrong, please let me know.
If it makes you feel any better, I couldn't get sample mask to work on nv50/nvc0 either. I'm sure the issues are unrelated. However one thing I noticed when I was investigating was that the SAMPLEMASK output was being listed ahead of the COLOR output, and the nouveau codegen logic wasn't really ready for that... I guess COLOR had always come first before. Of course fixing that didn't fix the samplemask issue, but thought I'd mention it. -ilia > > Everything else works. > > Marek Olšák (8): > radeon: split cayman_emit_msaa_state into 2 functions > radeon: add basic register setup for per-sample shading > radeonsi: implement set_min_samples > radeonsi: implement SAMPLEID fragment shader input > radeonsi: implement SAMPLEPOS fragment shader input > radeonsi: interpolate varyings at sample when full sample shading is > enabled > radeonsi: implement SAMPLEMASK fragment shader output > radeonsi: enable ARB_sample_shading > > Please review. > > Marek > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev