aco/ngg: Allocate NGG GS space early for const vertex/primitive counts.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 2 Oct 2020 15:10:43 +0000 (17:10 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Fri, 9 Oct 2020 13:26:15 +0000 (15:26 +0200)
commit61280bb4b66e4ff7db393f7c4db368b65bc391fa
tree94cfd5bde8bed7046ad8332fa43a29beeb00e039
parente8a0409d01e94ea03ae1b994e14e2c90bb236238
aco/ngg: Allocate NGG GS space early for const vertex/primitive counts.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6964>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_instruction_selection.h
src/amd/compiler/aco_instruction_selection_setup.cpp