Re: [Mesa-dev] [PATCH 3/3] nir: Simplify a bcsel to logical-or

2016-03-30 Thread Jason Ekstrand
On Mar 30, 2016 4:24 PM, "Ian Romanick" wrote: > > From: Ian Romanick > > Oddly, this did not affect the shader where I first noticed the pattern. > That particular shader doesn't get its if-statement converted to a bcsel > because there are two assignments in the else-statement. This led to me

[Mesa-dev] [PATCH 3/3] nir: Simplify a bcsel to logical-or

2016-03-30 Thread Ian Romanick
From: Ian Romanick Oddly, this did not affect the shader where I first noticed the pattern. That particular shader doesn't get its if-statement converted to a bcsel because there are two assignments in the else-statement. This led to me submitting https://bugs.freedesktop.org/show_bug.cgi?id=947