[Mesa-dev] [PATCH 0/8] Almost-done ARB_sample_shading
Ilia Mirkin
imirkin at alum.mit.edu
Wed May 7 10:58:31 PDT 2014
On Wed, May 7, 2014 at 10:00 AM, Marek Olšák <maraeo at 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list