Skip to content
Snippets Groups Projects
Forked from Mesa / mesa
642 commits behind the upstream repository.
  • Samuel Pitoiset's avatar
    d1a2ba57
    radv: fix a GPU hang with inherited rendering and HiZ/HiS on GFX1201 · d1a2ba57
    Samuel Pitoiset authored and Marge Bot's avatar Marge Bot committed
    
    With secondary command buffers, inherited rendering can be used but
    it's basically impossible to know if the depth/stencil attachment
    enabled HiZ/HiS. But it's required to disable WALK_ALIGN8 to avoid
    GPU hangs.
    
    This assumes that HiZ/HiS is enabled for inherited rendering as long
    as a depth/stencil attachment is used. It's not the most optimal
    approach but it's not supposed to hurt either.
    
    This fixes a GPU hang with
    dEQP-VK.dynamic_rendering.primary_cmd_buff.basic.contents_secondary_cmdbuffers
    and friends.
    
    GFX1200 isn't affected because it doesn't support HiZ/HiS.
    
    Cc: mesa-stable
    Signed-off-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <mesa/mesa!33986>
    d1a2ba57
    History
    radv: fix a GPU hang with inherited rendering and HiZ/HiS on GFX1201
    Samuel Pitoiset authored and Marge Bot's avatar Marge Bot committed
    
    With secondary command buffers, inherited rendering can be used but
    it's basically impossible to know if the depth/stencil attachment
    enabled HiZ/HiS. But it's required to disable WALK_ALIGN8 to avoid
    GPU hangs.
    
    This assumes that HiZ/HiS is enabled for inherited rendering as long
    as a depth/stencil attachment is used. It's not the most optimal
    approach but it's not supposed to hurt either.
    
    This fixes a GPU hang with
    dEQP-VK.dynamic_rendering.primary_cmd_buff.basic.contents_secondary_cmdbuffers
    and friends.
    
    GFX1200 isn't affected because it doesn't support HiZ/HiS.
    
    Cc: mesa-stable
    Signed-off-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
    Part-of: <mesa/mesa!33986>