Skip to content
  • Rob Clark's avatar
    freedreno/a6xx: fix LRZ hang · f8424d3b
    Rob Clark authored
    In detecting the case where we actually do need to re-emit LRZ state
    (due to new batch), we were checking `ctx->last.dirty` to detect when
    we cannot trust previous state.  But this is cleared before we check
    it.
    
    Move where it is cleared to the end of the draw_vbo() path.
    
    Fixes: dfa702e9
    
     ("freedreno/a6xx: limit LRZ state emit")
    Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
    Part-of: <mesa/mesa!4842>
    f8424d3b