From fed98df4286452aa3b6a9a950fca658a752fd31d Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 30 Dec 2015 17:43:00 -0800 Subject: [PATCH] nir/gather_info: Add support for end_primitive_with_counter --- src/glsl/nir/nir_gather_info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glsl/nir/nir_gather_info.c b/src/glsl/nir/nir_gather_info.c index 18c8e3649dc..b84915c2d2b 100644 --- a/src/glsl/nir/nir_gather_info.c +++ b/src/glsl/nir/nir_gather_info.c @@ -50,6 +50,7 @@ gather_intrinsic_info(nir_intrinsic_instr *instr, nir_shader *shader) break; case nir_intrinsic_end_primitive: + case nir_intrinsic_end_primitive_with_counter: assert(shader->stage == MESA_SHADER_GEOMETRY); shader->info.gs.uses_end_primitive = 1; break; -- 2.30.2