Skip to content
  • Marek Olšák's avatar
    r300g: implement D24X8 texture sampling for r3xx-r4xx · 6f2936c6
    Marek Olšák authored
    Because the hw can't sample it, I reinterpret the format as G16R16 and
    sample the G component. This gives 16 bits of precision, which should be
    enough for depth texturing (surprisingly, the sampled values are exactly
    the same as in D16 textures).
    
    This also enables EXT_packed_depth_stencil on those old chipsets, finally.
    6f2936c6