Skip to content
  • Danylo Piliaiev's avatar
    turnip: apply workaround for depth bounds test without depth test · bb4db22f
    Danylo Piliaiev authored
    
    
    On some GPUs when:
    - depth bounds test is enabled
    - depth test is disabled
    - depth attachment uses UBWC in sysmem mode
    GPU hangs. As a workaround we should enable z test. That's what blob
    is doing for a630. And since we enable z test we should make it always pass.
    
    Blob doesn't emit this workaround on a650 and a660. Untested on a640.
    
    Fixes:
     dEQP-VK.pipeline.extended_dynamic_state.two_draws_static.depth_bounds_test_disable
     dEQP-VK.pipeline.extended_dynamic_state.two_draws_dynamic.depth_bounds_test_disable
     dEQP-VK.dynamic_state.ds_state.depth_bounds_1
    
    Signed-off-by: default avatarDanylo Piliaiev <dpiliaiev@igalia.com>
    Part-of: <mesa/mesa!12407>
    bb4db22f