radv: compute the legacy GS info earlier
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 26 Jul 2023 12:44:58 +0000 (14:44 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 28 Jul 2023 06:55:48 +0000 (08:55 +0200)
commit76cc85ebb9e1ed76fe6eef1d3115d33ba8113e36
treeae19c6cfbf70f21bc4e66ae5d41a3ebc7b80d956
parent329907178ef006df818dcde4c7a7b1ffa4b5517a
radv: compute the legacy GS info earlier

This allows geometry shaders to work with shader object on GFX6-8
because the workgroup size is the wave size. We will need different
tweaks for NGG but that's for later.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24333>
src/amd/vulkan/radv_shader_info.c