nir/gather_info: Add support for end_primitive_with_counter
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 31 Dec 2015 01:43:00 +0000 (17:43 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 31 Dec 2015 01:45:43 +0000 (17:45 -0800)
src/glsl/nir/nir_gather_info.c

index 18c8e3649dc6dbbb391d1ff8f7f66757f0f32a62..b84915c2d2b1568f89f571491dcb344aedb9d1fc 100644 (file)
@@ -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;