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:

committed by
Marge Bot

parent
3c3f7cb747
commit
9c006d5dce
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user