nir: Also gather decomposed primitive count

Simple extension.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Antonino Maniscalco <antonino.maniscalco@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26056>
This commit is contained in:
Alyssa Rosenzweig
2023-08-14 16:55:21 -04:00
committed by Marge Bot
parent b65636ca40
commit cc3f20ca6c
4 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -632,7 +632,7 @@ brw_compile_gs(const struct brw_compiler *compiler,
if (compiler->devinfo->ver >= 8)
nir_gs_count_vertices_and_primitives(
nir, &prog_data->static_vertex_count, nullptr, 1u);
nir, &prog_data->static_vertex_count, nullptr, nullptr, 1u);
if (compiler->devinfo->ver >= 7) {
if (nir->info.gs.output_primitive == MESA_PRIM_POINTS) {