From: Jason Ekstrand Date: Thu, 31 Dec 2015 01:43:00 +0000 (-0800) Subject: nir/gather_info: Add support for end_primitive_with_counter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fed98df4286452aa3b6a9a950fca658a752fd31d;p=mesa.git nir/gather_info: Add support for end_primitive_with_counter --- 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;