1. 23 Jul, 2015 4 commits
    • Yuri Kunde Schlesner's avatar
      VideoCore: Fix values of unset components in input attribute arrays · 1fe9b0b8
      Yuri Kunde Schlesner authored
      If an input attribute array had a field with less than 4 components, the
      remaining components were left unset if not specified by a default
      vertex attribute. If neither mechanism would set a component, it would
      assume a garbage value.
      
      It has been verified that the hardware behavior is to instead to set the
      missing components from the fixed default of (0 0 0 1). The default
      vertex attribute values aren't used at all if a vertex array is
      specified for that attribute.
      
      Fixes UI graphics on Fire Emblem: Awakening, a small texturing glitch
      when selecting a character in Cubic Ninja, as well as eliminating the
      unset-W hack which was required for Ocarina of Time to not have
      garbled triangles.
      
      This change has been tested against hardware.
      1fe9b0b8
    • Yuri Kunde Schlesner's avatar
      VideoCore: Saturate vertex colors before interpolating · 4e092022
      Yuri Kunde Schlesner authored
      During testing, it was discovered that hardware does not interpolate
      colors output by the vertex shader as-is. Rather, it drops the sign and
      saturates the value to 1.0. This is done before interpolation, such that
      (e.g.) interpolating outputs 1.5 and -0.5 is equivalent to as if the
      shader had output the values 1.0 and 0.5 instead, with the interpolated
      value never crossing 0.0.
      
      This change has been tested against hardware.
      4e092022
    • bunnei's avatar
      Merge pull request #977 from yuriks/glenable-tex2d · cea45af6
      bunnei authored
      GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
      cea45af6
    • bunnei's avatar
      Merge pull request #979 from Subv/border_color · f602bb9a
      bunnei authored
      Rasterizer/GL: Set the border color when binding a texture.
      f602bb9a
  2. 22 Jul, 2015 2 commits
  3. 21 Jul, 2015 14 commits
  4. 20 Jul, 2015 8 commits
  5. 19 Jul, 2015 10 commits
  6. 18 Jul, 2015 2 commits