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:
committed by
Marge Bot
parent
b65636ca40
commit
cc3f20ca6c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user