On 3 November 2015 at 00:29, Matt Turner <matts...@gmail.com> wrote: > The test (file == BAD_FILE) works on registers for which the constructor > has not run because BAD_FILE is zero. The next commit will move > BAD_FILE in the enum so that it's no longer zero.
Doesn't the DECLARE_RALLOC_CXX_OPERATORS macro and fs_reg::fs_reg() kick in ? If not things look quite fragile and perhaps we should wire them up. -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev