[Mesa-dev] [PATCH 046/133] nir: Add an assert
Jason Ekstrand
jason at jlekstrand.net
Mon Dec 15 22:04:56 PST 2014
---
src/glsl/nir/nir.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c
index 0124799..3c897b2 100644
--- a/src/glsl/nir/nir.c
+++ b/src/glsl/nir/nir.c
@@ -840,6 +840,7 @@ handle_jump(nir_block *block)
unlink_blocks(last_block, after_block);
}
} else {
+ assert(jump_instr->type == nir_jump_return);
link_blocks(block, impl->end_block, NULL);
}
}
--
2.2.0
More information about the mesa-dev
mailing list