rhi: set primitive type on graphics pipeline
Otherwise we are ignoring the primitive type specified by the user and drawing
everything with triangles.
Note: rhi doesn't handle all primitive types (lineloop, patches and adjancency
primitives are currently not supported).
Change-Id: Ic025917c37413b7e062b8c0b17d506822270d924
Reviewed-by: Mike Krus <mike.krus@kdab.com>
| commit | fabb3eb8e8bc1aeae8d0d6cad8c68c317c653b77 |
| parent | d3214c87e2a8c82a70c38091bc59694fa80476e0 |
| author | Paul Lemire <paul.lemire@kdab.com> |
| committer | Paul Lemire <paul.lemire@kdab.com> |
| commit time | Mon, 17 Aug 2020 13:09:38 +0200 |