Re: [Mesa-dev] [PATCH 1/2] nir: Zero out texture instructions when creating them.

2015-08-12 Thread Matt Turner
On Wed, Aug 12, 2015 at 11:55 AM, Eric Anholt 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 th

[Mesa-dev] [PATCH 1/2] nir: Zero out texture instructions when creating them.

2015-08-12 Thread Eric Anholt
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. --- src/glsl/nir/nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl