Skip to content
  • Brian Paul's avatar
    gallium: added draw_set_mrd() function to fix polygon offset · d0bc5293
    Brian Paul authored
    The Minimum Resolvable Depth factor depends on the driver and can't just
    be computed from the number of Z buffer bits.
    Glean's polygon offset test now passes with softpipe.
    Still need to determine the MRD factor for other gallium drivers, if they use
    the draw module's polygon offset stage...
    d0bc5293