nir/gather_info: handle emit_vertex_with_counter
[mesa.git] / src / compiler / nir / nir_gather_info.c
index c301742dd7a765a3a2e92eb763f737d683966f97..124f355f733028dfeb3f0b8a76b35ead1fe815a4 100644 (file)
@@ -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;