commit | b08ced08a225250c00f814e7fb4518329ce36f59 | [log] [tgz] |
---|---|---|
author | Timur Kristóf <timur.kristof@gmail.com> | Fri Sep 04 13:38:25 2020 +0200 |
committer | Timur Kristóf <timur.kristof@gmail.com> | Fri Oct 09 15:26:14 2020 +0200 |
tree | 1f0a61b1356f146bd1a4338cfd579a4852d2042c | |
parent | ecfabfd606903a4ccbc8235ab3503bb149debcf0 [diff] |
aco/ngg: Refactor gs_alloc_req in preparation for NGG GS. Previously, this function inferred the vertex and primitive counts from the gs_tg_info shader argument, but in case of NGG GS, it will need to be calculated in runtime. 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>