Skip to content
Snippets Groups Projects
Commit 2be99012 authored by Timur Kristóf's avatar Timur Kristóf
Browse files

nir: Add ability to count emitted GS primitives.


Add an option to nir_lower_gs_intrinsics which tells it to track
the number of emitted primitives, not just vertices. Additionally,
also make it per-stream.

Also rename the set_vertex_count intrinsic to
set_vertex_and_primitive_count.

Signed-off-by: default avatarTimur Kristóf <timur.kristof@gmail.com>
Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
Part-of: <!6964>
parent 73dd86c4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment