1. 06 Feb, 2019 37 commits
  2. 05 Feb, 2019 3 commits
    • Emma Anholt's avatar
      v3d: Whitespace consistency fix. · 3c08ecf1
      Emma Anholt authored
      3c08ecf1
    • Emma Anholt's avatar
      v3d: Fix copy-propagation of input unpacks. · 940501a4
      Emma Anholt authored
      I had a single function for "does this do float input unpacking" with two
      major flaws: It was missing the most common thing to try to copy propagate
      a f32 input nunpack to (the VFPACK to an FP16 render target) along with
      several other ALU ops, and also would try to propagate an f32 unpack into
      a VFMUL which only does f16 unpacks.
      
      instructions in affected programs: 659232 -> 655895 (-0.51%)
      uniforms in affected programs: 132613 -> 135336 (2.05%)
      
      and a couple of programs increase their thread counts.
      
      The uniforms hit appears to be a pattern in generated code of doing (-a >=
      a) comparisons, which when a is abs(b) can result in the abs instruction
      being copy propagated once but not fully DCEed.
      940501a4
    • Emma Anholt's avatar
      v3d: Fix input packing of .l for rounding/fdx/fdy. · e5c69385
      Emma Anholt authored
      Avoids a regression in
      dEQP-GLES3.functional.shaders.derivate.fwidth.texture.* once we start
      copy-propagating more input packs.
      e5c69385