On Wed, Aug 12, 2015 at 11:55 AM, Eric Anholt <e...@anholt.net> wrote: > There are so many flags in textures, that the CSE pass would have a hard > time referencing the correct set when figuring out if two texture ops are > the same. By zeroing, we can avoid that fragility. > ---
Presumably you didn't see that this fixed anything, because ralloc_size() (which ralloc() wraps) has been mistakenly calling calloc() since it was added. :) That's not to say that we shouldn't be zeroing nir_tex_instr anyway. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev