Skip to content
  • Roland Scheidegger's avatar
    llvmpipe: add support for layered rendering · d8146f24
    Roland Scheidegger authored
    
    
    Mostly just make sure the layer parameter gets passed through to the right
    places (and get clamped, can do this at setup time), fix up clears to
    clear all layers and disable opaque optimization. Luckily don't need to
    touch the jitted code.
    (Clears invoked via pipe's clear_render_target method will not work however
    since the pipe_util_clear function used for it doesn't handle clearing
    multiple layers yet.)
    
    v2: per Brian's suggestion, prettify var initialization and add some comments,
    add assertion for impossible layer specification for surface.
    
    Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
    Reviewed-by: default avatarJose Fonseca <jfonseca@vmware.com>
    d8146f24