I don't know. I couldn't find any useful info about it either. Marek
On Wed, Jan 14, 2015 at 3:33 AM, Michel Dänzer <mic...@daenzer.net> wrote: > On 13.01.2015 19:11, Marek Olšák wrote: >> This is weird. We only enable this optimization if the shader code >> doesn't use CENTROID at all. This is the main flag: >> sctx->ps_shader->info.uses_centroid. >> >> You can try to simplify the condition to: >> >> bc_optimize_disable = sctx->ps_shader->info.uses_centroid; >> >> That should avoid using the optimization even for the non-MSAA case if >> CENTROID is used. > > That would probably fix the problem, but I wonder if the optimization > has any effect then? What little description I've found of it sounds > like it could only have an effect for shaders which use both centroid > and center interpolation. > > > -- > Earthling Michel Dänzer | http://www.amd.com > Libre software enthusiast | Mesa and X developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev