radv: Disable IB2 on compute queues.
authorTimur Kristóf <timur.kristof@gmail.com>
Sat, 12 Feb 2022 16:27:41 +0000 (17:27 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Feb 2022 13:09:20 +0000 (13:09 +0000)
commitda719792ad2b7f50824fd1ba500f8b87e4b3b448
treea979a52b8e4e4287feed854e0989ca995901c2ed
parent3fad6325cd4ddd09bee833f3a6e48bc63f9ef52e
radv: Disable IB2 on compute queues.

The "IB2" indirect buffer command is not supported on compute queues
according to PAL, and it indeed causes GPU hangs when task shaders are
used together with vkCmdExecuteCommands.

Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15006>
src/amd/vulkan/radv_cmd_buffer.c