[Mesa-dev] [PATCH] gallivm: do per-sample depth comparison instead of doing it post-filter

Roland Scheidegger sroland at vmware.com
Wed Aug 14 15:56:26 PDT 2013


Am 15.08.2013 00:54, schrieb Zack Rusin:
>  > -      lp_build_sample_compare(&bld, newcoords[4], texel_out);
>> +      if (0)
>> +         lp_build_sample_compare(&bld, newcoords[4], texel_out);
>>     }
> 
> What does this do? 
> The rest looks good to me!
> 
> Reviewed-by: Zack Rusin <zackr at vmware.com> 
> 

Yeah that does nothing, I'll remove the old function (initially wanted
to keep it and make it switchable but while the old function can be
trivially enabled/disabled here would need to pass that information down
to where the new one is used too so in the end didn't bother as it
shouldn't really be slower anyway).

Roland


More information about the mesa-dev mailing list