gallivm/nir: add support for multiple vertex streams
authorDave Airlie <airlied@redhat.com>
Thu, 23 Jan 2020 06:15:50 +0000 (16:15 +1000)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 Feb 2020 00:54:42 +0000 (00:54 +0000)
commit8583fcd8f182a290f000cb303ec2e067688363b8
tree73e864b2242123d426cd7982aa95e1d12bbd2af8
parentb66884131312cac4438aab89490fd6f33443247a
gallivm/nir: add support for multiple vertex streams

This adds support to the nir shader build for multiple vertex streams
we store separate stats for each stream, then write them out in the epilogue.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3530>
src/gallium/auxiliary/gallivm/lp_bld_nir.h
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c