Skip to content
Snippets Groups Projects
Commit 65612172 authored by Qiang Yu's avatar Qiang Yu Committed by Dylan Baker
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>
(cherry picked from commit 84956286)
parent 7b141213
No related branches found
No related tags found
No related merge requests found
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