mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 02:40:11 +01:00
nir/passthrough_gs: flesh out gs_in_prim
geometry shaders don't specify the input topology, only the class of topology. normalize when generating a passthrough gs. asahi will be more picky about this in the future. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Antonino Maniscalco <antonino.maniscalco@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27457>
This commit is contained in:
parent
3c3f7cb747
commit
9c006d5dce
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ gs_in_prim_for_topology(enum mesa_prim prim)
|
|||
case MESA_PRIM_QUADS:
|
||||
return MESA_PRIM_LINES_ADJACENCY;
|
||||
default:
|
||||
return prim;
|
||||
return u_decomposed_prim(prim);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue