On Fri, Dec 5, 2014 at 10:24 AM, Matt Turner <[email protected]> wrote:
> On Fri, Dec 5, 2014 at 7:02 AM, Jason Ekstrand <[email protected]> > wrote: > > First off, how is this different from the sel peephole? > > This happens in the visitor during translation from GLSL IR to FS IR. > It only looks for an exact sequence of IF/MOV/ELSE/MOV/ENDIF where the > MOVs are to the same destination. > > The peephole happens in the optimization loop itself. The peephole > looks for sequences of MOVs, rather than just a single one. The > peephole also emits a MOV if the two sources you're selecting from are > identical. > So why isn't the peephole picking up on what the other one is? I'm confused as to why we have any shaderdb change at all. Any insight on that?
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
