radv: fix a GPU hang with inherited rendering and HiZ/HiS on GFX1201
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:Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <!33986>
Please register or sign in to comment