[Mesa-dev] [PATCH 3/3] st/mesa: create shaders which have only one variant immediatelly

Ilia Mirkin imirkin at alum.mit.edu
Mon Oct 19 15:50:18 PDT 2015


On Mon, Oct 19, 2015 at 6:46 PM, Marek Olšák <maraeo at gmail.com> wrote:
> On Mon, Oct 19, 2015 at 9:53 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>> Actually this just occurred to me -- you should only check
>> st->can_force_persamp_interp if PIPE_CAP_SAMPLE_SHADING is enabled.
>> Otherwise it should be unreachable. And it's a bit weird for a driver
>> to say "sample shading = no, force persamp interp = yes".
>
> The attached patches should fix that.

Works for me.


More information about the mesa-dev mailing list