radv: Allocate space for inline push constants.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 8 Aug 2021 12:37:52 +0000 (14:37 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 9 Aug 2021 14:26:21 +0000 (14:26 +0000)
commit02b601594587e8d7462a353039108241aa4ab81a
tree7e756e6c7f5b8dd45ba38feb1df205d2bce61e04
parentb2b1e8e40a69bea59df3414d9f100b6bf809cd8e
radv: Allocate space for inline push constants.

In the compute dispatch path we do not allocate a huge amount
of space to cover everything so the individual functions have to
allocate. This was missing here, causing a hang in Cyberpunk when
accessing the system menu at some locations with thread tracing
enabled.

Fixes: bd1186572f6 ("radv: add support for push constants inlining when possible")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12271>
src/amd/vulkan/radv_cmd_buffer.c