radeonsi: add generic emit primitive helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 18 Jan 2018 21:50:42 +0000 (08:50 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 22 Jan 2018 22:18:36 +0000 (09:18 +1100)
commitdd4591b79481ac98967af1f93e9e4b52197e6dc7
tree2b4b56d4246319187933fcf31e4bb9105b15ebe0
parentfdc2fb4d88377213991c70dbcfafb70004912515
radeonsi: add generic emit primitive helper

This will be shared by the tgsi and nir backends.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c