diff options
author | Jason Ekstrand <[email protected]> | 2014-10-29 14:15:13 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:18:58 -0800 |
commit | 8b4c86058063888813fca185633cd5746ac2321c (patch) | |
tree | fa7761ebe4ec45c16fc0e2a85749296b89737995 /src | |
parent | 2812e5de93b3bddc4fea9fc99c38155303887ecd (diff) |
SQUASH: Add an assert
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/nir/nir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c index 556d5e31ad8..3a17d382a9b 100644 --- a/src/glsl/nir/nir.c +++ b/src/glsl/nir/nir.c @@ -833,6 +833,7 @@ handle_jump(nir_block *block) unlink_blocks(last_block, after_block); } } else { + assert(jump_instr->type == nir_jump_return); nir_function_impl *impl = nir_cf_node_get_function(&block->cf_node); link_blocks(block, impl->end_block, NULL); } |