[Mesa-dev] [PATCH] glsl: Optimize logic operation A || (A && B)

Ian Romanick idr at freedesktop.org
Fri Jul 11 10:01:17 PDT 2014


On 07/10/2014 03:31 PM, Matt Turner wrote:
> On Thu, Jul 10, 2014 at 2:24 PM,  <thomashelland90 at gmail.com> wrote:
>> From: Thomas Helland <thomashelland90 at gmail.com>
>>
>> HURT:   shaders/orbital_explorer.shader_test vs:          1049 -> 1052
>> (0.29%)
> 
> There's something wrong with this shader. It seems to fluctuate
> between 1048 and 1052 instructions for me, even without any changes.

That's weird... is there some uninitialized memory usage that's leading
to non-deterministic behavior?



More information about the mesa-dev mailing list