Skip to content
  • Marek Olšák's avatar
    r600g: fix depth-stencil on evergreen · 68c54abb
    Marek Olšák authored
    Such that it actually works in apps which use both.
    
    A separate buffer is allocated for stencil. The only exception is
    the window-system-provided depth-stencil buffer, where depth and stencil
    share the same buffer.
    
    This fixes:
    - fbo-depthstencil-GL_DEPTH24_STENCIL8-clear
    - fbo-depthstencil-GL_DEPTH24_STENCIL8-drawpixels-FLOAT-and-USHORT
    - fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-24_8
    - fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-FLOAT-and-USHORT
    68c54abb