1. 17 Jul, 2015 1 commit
  2. 30 May, 2015 1 commit
  3. 20 Feb, 2015 2 commits
    • Emma Anholt's avatar
      vc4: Keep an array of pointers to instructions defining the temps around. · 85316d05
      Emma Anholt authored
      The optimization passes are always regenerating it and throwing it away,
      but it's not hard to keep track of.
      85316d05
    • Emma Anholt's avatar
      vc4: Enforce one-uniform-per-instruction after optimization. · 14dc281c
      Emma Anholt authored
      This lets us more intelligently decide which uniform values should be put
      into temporaries, by choosing the most reused values to push to temps
      first.
      
      total uniforms in shared programs: 13457 -> 13433 (-0.18%)
      uniforms in affected programs:     1524 -> 1500 (-1.57%)
      total instructions in shared programs: 40198 -> 40019 (-0.45%)
      instructions in affected programs:     6027 -> 5848 (-2.97%)
      
      I noticed this opportunity because with the NIR work, some programs were
      happening to make different uniform copy propagation choices that
      significantly increased instruction counts.
      14dc281c