From: Rhys Perry Date: Fri, 13 Mar 2020 19:31:03 +0000 (+0000) Subject: nir/gather_info: handle emit_vertex_with_counter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5193688e1ac696928109ade1b0eb901a91607436;p=mesa.git nir/gather_info: handle emit_vertex_with_counter Signed-off-by: Rhys Perry Reviewed-By: Timur Kristóf Reviewed-by: Samuel Pitoiset CC: Part-of: --- diff --git a/src/compiler/nir/nir_gather_info.c b/src/compiler/nir/nir_gather_info.c index c301742dd7a..124f355f733 100644 --- a/src/compiler/nir/nir_gather_info.c +++ b/src/compiler/nir/nir_gather_info.c @@ -283,6 +283,7 @@ gather_intrinsic_info(nir_intrinsic_instr *instr, nir_shader *shader, /* fall through */ case nir_intrinsic_emit_vertex: + case nir_intrinsic_emit_vertex_with_counter: if (nir_intrinsic_stream_id(instr) > 0) shader->info.gs.uses_streams = true;