nir/gather_info: Set info.gs.uses_streams
authorNeil Roberts <nroberts@igalia.com>
Wed, 17 Jan 2018 15:37:35 +0000 (16:37 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 31 Jul 2018 11:18:28 +0000 (13:18 +0200)
commit1e3f61d1d54f16328d7b8c61cdb1938b5ce04d41
tree74bf7fa700b6ae4df3f63a8dc9fe15ab38ae739a
parentb0af66bb172c803c08b73e705822c3d53f5191f5
nir/gather_info: Set info.gs.uses_streams

Whenever a non-zero stream is written to it now sets uses_streams to
true. This reflects the code in validate_geometry_shader_emissions for
GLSL.

v2: set uses_streams at gather_info instead that at spirv to nir
    (Jason Ekstrand)

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_gather_info.c