summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_gs_intrinsics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_lower_gs_intrinsics.c')
-rw-r--r--src/compiler/nir/nir_lower_gs_intrinsics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_gs_intrinsics.c b/src/compiler/nir/nir_lower_gs_intrinsics.c
index 406d7f0..293aeac 100644
--- a/src/compiler/nir/nir_lower_gs_intrinsics.c
+++ b/src/compiler/nir/nir_lower_gs_intrinsics.c
@@ -133,7 +133,7 @@ rewrite_end_primitive(nir_intrinsic_instr *intrin, struct state *state)
static bool
rewrite_intrinsics(nir_block *block, struct state *state)
{
- nir_foreach_instr_safe(block, instr) {
+ nir_foreach_instr_safe(instr, block) {
if (instr->type != nir_instr_type_intrinsic)
continue;