summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_gather_info.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-12-30 17:43:00 -0800
committerJason Ekstrand <[email protected]>2015-12-30 17:45:43 -0800
commitfed98df4286452aa3b6a9a950fca658a752fd31d (patch)
treec8ff9e17bd3bf6bf0fa5bef418c6825e14eda454 /src/glsl/nir/nir_gather_info.c
parent5afac62b28ad3061928d623727a802f975eaae46 (diff)
nir/gather_info: Add support for end_primitive_with_counter
Diffstat (limited to 'src/glsl/nir/nir_gather_info.c')
-rw-r--r--src/glsl/nir/nir_gather_info.c1
1 files changed, 1 insertions, 0 deletions
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;