Re: [Mesa-dev] [PATCH] glsl: always call do_lower_jumps() after loop unrolling

2018-04-02 Thread Matt Turner
Seems reasonable. Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] glsl: always call do_lower_jumps() after loop unrolling

2018-04-02 Thread Timothy Arceri
This fixes a bug in radeonsi where LLVM cannot handle the case where a break exists but its not the last instruction in the block. LLVM would fail with: Terminator found in the middle of a basic block! LLVM ERROR: Broken function found, compilation aborted! Fixes: 96fe8834f539 "glsl_to_tgsi: do