Skip to content
  • Eric Anholt's avatar
    glsl2: Teach copy propagation about "if" and "loop" instructions. · 2dd3ae0d
    Eric Anholt authored
    This lets us track copies across basic block boundaries.  The loop
    doesn't get a filled out list of available copies into it yet, though.
    
    glsl-fs-raytrace drops from 585 to 535 Mesa IR instructions out of the
    compiler, and it appears that Yo Frankie's largest shaders decrease in
    Mesa IR count by about 10% as well.
    2dd3ae0d