Skip to content
  • Stéphane Marchesin's avatar
    i915g: Implement writemask fixup · 8709e2b6
    Stéphane Marchesin authored
    The fixup code emulates non-BGRA render targets by adding an
    extra instruction at the end of fragment shaders to swizzle the
    output. To do this, we also swizzle the blend function. However
    an oversight until now was that the writemask wasn't getting
    swizzled. This patch fixes that which fixes a bunch of piglit
    tests.
    8709e2b6