gallivm/swr: add stream_id to geom epilogue emit
authorDave Airlie <airlied@redhat.com>
Thu, 23 Jan 2020 06:13:24 +0000 (16:13 +1000)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 Feb 2020 00:54:42 +0000 (00:54 +0000)
commitb66884131312cac4438aab89490fd6f33443247a
tree02ed5bd14aeadaf5713e9be77dba7b8e62f0bc73
parent9d70002744ca121bff51dd40bfa76b633320652c
gallivm/swr: add stream_id to geom epilogue emit

We want to pass a stream in here so we can write out separate
prim/vertex counts for each stream at the end.

This also adds an ignore any stream option so we can stage more code

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3530>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
src/gallium/drivers/swr/swr_shader.cpp