From 5193688e1ac696928109ade1b0eb901a91607436 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Fri, 13 Mar 2020 19:31:03 +0000 Subject: [PATCH] nir/gather_info: handle emit_vertex_with_counter MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Reviewed-By: Timur Kristóf Reviewed-by: Samuel Pitoiset CC: Part-of: --- src/compiler/nir/nir_gather_info.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2