mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
asahi: rm another num_vertices use
this wasn't even for vertices, just primitives! Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29179>
This commit is contained in:
parent
5af1828440
commit
8fd2e3c71b
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ vertex_id_for_topology_class(nir_builder *b, nir_def *vert, enum mesa_prim cls)
|
|||
{
|
||||
nir_def *prim = nir_load_primitive_id(b);
|
||||
nir_def *flatshade_first = nir_ieq_imm(b, nir_load_provoking_last(b), 0);
|
||||
nir_def *nr = nir_load_num_vertices(b);
|
||||
nir_def *nr = load_geometry_param(b, gs_grid[0]);
|
||||
nir_def *topology = nir_load_input_topology_agx(b);
|
||||
|
||||
switch (cls) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue