st/mesa: Replace UsesStreams by ActiveStreamMask for GS
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>
Thu, 19 Mar 2020 08:59:27 +0000 (04:59 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 Aug 2020 11:17:26 +0000 (11:17 +0000)
commit7dcb1d272fa29d2003ccbae180aba5dee52921e8
tree0776ee954b9bbd28991fa2016af6529c0d213c32
parentab5a36b342f3a52873a5805f3d5f92bfd52fd7a4
st/mesa: Replace UsesStreams by ActiveStreamMask for GS

Some drivers need to know which streams are used by a geometry
shader. Adding a mask of active streams makes the use of
UsesStreams superfluous as it's the equivalent of:

    ActiveStreamMask != (1 << 0)

Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5984>
src/compiler/glsl/linker.cpp
src/compiler/nir/nir_gather_info.c
src/compiler/nir/nir_lower_gs_intrinsics.c
src/compiler/shader_info.h
src/intel/compiler/brw_vec4_gs_visitor.cpp
src/mesa/main/mtypes.h
src/mesa/main/shaderapi.c
src/mesa/main/shaderobj.c