Skip to content
Snippets Groups Projects
Commit ed362ae2 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 881c4d46
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