diff options
author | Connor Abbott <[email protected]> | 2015-07-21 19:54:26 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-08-24 13:31:42 -0700 |
commit | 633cbbc0682b1cec3107398a21a057697e8572aa (patch) | |
tree | b63a5b1d23d59e843d082370b8acf877bfa78013 /src/glsl/nir/glsl_to_nir.h | |
parent | 940873bf22c90db79d065f14ff44dab12415feb0 (diff) |
nir/cf: handle jumps better in stitch_blocks()
In particular, handle the case where the earlier block ends in a jump
and the later block is empty. In that case, we want to preserve the jump
and remove any traces of the later block. Before, we would only hit this
case when removing a control flow node after a jump, which wasn't a
common occurance, but we'll need it to handle inserting a control flow
list which ends in a jump, which should be more common/useful.
Signed-off-by: Connor Abbott <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/nir/glsl_to_nir.h')
0 files changed, 0 insertions, 0 deletions