1. 25 Mar, 2015 36 commits
  2. 24 Mar, 2015 4 commits
    • Stefan Dösinger's avatar
      3c2d0b98
    • Stefan Dösinger's avatar
    • Stefan Dösinger's avatar
      wined3d: Check for conversion changes in the atifs fragment pipeline. · 1b0c0636
      Stefan Dösinger authored
      Mapping colorop to pixelshader is necessary because misc_state_template
      defines a pixel shader handler. We have to use the same representative
      in all pipeline parts.
      
      Wined3d_cs_exec_set_texture dirtifies the pixel shader state when the
      fixup of a texture changes. Atifs no longer needs a pixel shader handler
      on its own since vertex shader updates aren't delayed any more when the
      pixel shader state is dirty.
      1b0c0636
    • Stefan Dösinger's avatar
      wined3d: Improve color fixups in atifs shaders. · 92fee8c0
      Stefan Dösinger authored
      The abilities of this hardware is too limited to support generic sign /
      swizzle fixups. A generic handler would consume 4 of the 8 available
      color instruction slots and 2 alpha instruction slots.
      
      The bump mapping handler code has its own way of handling the color
      fixups. It merges the fixup into the perturbation calculation without
      requiring extra shader instructions. In theory this is possible for the
      majority of d3d texture ops as well, but I don't think this is worth the
      effort. I expect that this code will only be used for the ddraw signed
      format test in practice.
      92fee8c0