aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_nir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_nir.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_nir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c
index 547161ba7fe..e5fe9eec6eb 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c
@@ -1167,6 +1167,7 @@ static void visit_intrinsic(struct lp_build_nir_context *bld_base,
case nir_intrinsic_load_num_work_groups:
case nir_intrinsic_load_invocation_id:
case nir_intrinsic_load_front_face:
+ case nir_intrinsic_load_draw_id:
bld_base->sysval_intrin(bld_base, instr, result);
break;
case nir_intrinsic_discard_if: