[Mesa-dev] [PATCH 12/24] i965: Initialize registers' file to BAD_FILE.
Emil Velikov
emil.l.velikov at gmail.com
Tue Nov 3 08:05:51 PST 2015
On 3 November 2015 at 00:29, Matt Turner <mattst88 at 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
More information about the mesa-dev
mailing list