On Wed, Nov 11, 2015 at 4:08 PM, Kenneth Graunke <kenn...@whitecape.org> wrote:
> Actually, your earlier statement:
> "if file == BAD_FILE, no other fields mean anything."
> suggests that we should change fs_reg() to simply set BAD_FILE, and
> not bother initializing the other fields.  That would eliminate one
> of the redundant memsets, and give us valgrind errors if we used
> an uninitialized value.  If we do that, though, we should make
> equals() return true for two BAD_FILE registers.

That's a really good idea. I'll give that a try.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to