radeonsi: use u_decomposed_prims_for_vertices instead of u_prims_for_vertices
authorMarek Olšák <marek.olsak@amd.com>
Sat, 10 Nov 2018 03:27:05 +0000 (22:27 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 2 Jan 2019 20:01:56 +0000 (15:01 -0500)
commitcba475b3e76f3dec31e0cacbee90a85c6edb784b
tree93534417f271ccd1d25e90b3ffad713367dc7cd2
parent54bc87469a4747ea626d1d680f39eb3d282ede5d
radeonsi: use u_decomposed_prims_for_vertices instead of u_prims_for_vertices

It seems to be the same, but this doesn't use integer division with
a variable divisor.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/gallium/drivers/radeonsi/si_state_draw.c