Skip to content
  • Emma Anholt's avatar
    v3d: Move constant offsets to UBO addresses into the main uniform stream. · 320e96ba
    Emma Anholt authored
    We'd end up with the constant offset in the uniform stream anyway, since
    they're bigger than small immediates.  Avoids the extra uniforms and adds
    in the shader in favor of just adding once on the CPU.
    
    shader-db:
    total instructions in shared programs: 6496865 -> 6494851 (-0.03%)
    total uniforms in shared programs: 2119511 -> 2117243 (-0.11%)
    320e96ba