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>
commitfabb3eb8e8bc1aeae8d0d6cad8c68c317c653b77
parentd3214c87e2a8c82a70c38091bc59694fa80476e0
authorPaul Lemire <paul.lemire@kdab.com>
committerPaul Lemire <paul.lemire@kdab.com>
commit timeMon, 17 Aug 2020 13:09:38 +0200