On Tue, Aug 26, 2014 at 4:57 AM, Tapani <tapani.pa...@intel.com> wrote: > On 08/26/2014 02:29 PM, Emil Velikov wrote: >> >> On 26/08/14 08:41, Tapani wrote: >>> >>> On 08/25/2014 07:19 PM, Eric Anholt wrote: >>>> >>>> Tapani Pälli <tapani.pa...@intel.com> writes: >>>> >>>>> commit 4e64cfbb4 changed how gl_constant_value bool gets interpreted >>>>> with drivers, for swrast driver true should be 1. >>>>> >>>>> Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> >>>>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82978 >>>> >>>> Everywhere else in swrast, true is 1.0f. Pretty sure you want fui(1.0) >>>> here. >>> >>> OK, my goal was to restore old behavior which seems that it had either >>> value 1 >>> or 0, set by glUniform functions or a uniform initializer. Maybe >>> conversion to >>> float is happening when reading the values from the uniform storage? >>> >> Would the final patch be nice to have in 10.3 or it's not something to >> worry >> about ? It seems like the issue was introduced in 10.3-dev. > > > It's a recent regression that starts with commits 6df0fd8 and 9e2e7c7 that > take Const.UniformBooleanTrue in to use. I don't think this is urgent but a > bug fix anyway. > >
There are 100+ piglit regressions with swrast around these commits. >> -Emil >> >>> // Tapani >>> >>> _______________________________________________ >>> 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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev