glsl: run do_lower_jumps properly in do_common_optimizations
authorMarek Olšák <marek.olsak@amd.com>
Sat, 31 Dec 2016 11:02:26 +0000 (12:02 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 5 Jan 2017 12:07:12 +0000 (13:07 +0100)
commitd3cb79e043338b0e55a3fba8df652f3ce4894d0d
tree0a75d8b210b01deb18e43fbd060044c43f89435d
parent7c6b714cd0fe06044c9a810186f5ce3690152574
glsl: run do_lower_jumps properly in do_common_optimizations

so that backends don't have to run it manually

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/glsl_parser_extras.cpp
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp