Skip to content
Snippets Groups Projects
Commit 84956286 authored by Qiang Yu's avatar Qiang Yu Committed by Marge Bot
Browse files

nir/lower_gs_intrinsics: fix primitive count for points


When primitive is points, EndPrimitive can't be used to count
primitive. Need to use vertex count instead. And it's also not
needed to do vertex per primitive count and overwrite incomplete
primitive work for points.

Fixes: 2be99012 ("nir: Add ability to count emitted GS primitives.")
Reviewed-by: default avatarTimur Kristóf <timur.kristof@gmail.com>
Signed-off-by: default avatarQiang Yu <yuq825@gmail.com>
Part-of: <mesa/mesa!17805>
parent b88c3d5b
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