glsl: Add heuristics to print floating-point numbers better.
authorMatt Turner <mattst88@gmail.com>
Sun, 4 Aug 2013 21:01:30 +0000 (14:01 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 29 Aug 2013 19:07:28 +0000 (12:07 -0700)
commit1ecfdba98a346c8bb05ad9403e3a6412574215f4
tree32f3b23a594338f9eff821002807c39bb586b572
parent57cf5946ce7604aa42c78dbdc34c453f8b2a0b21
glsl: Add heuristics to print floating-point numbers better.

v2: Fix *.expected files to match.
Reviewed-by: Paul Berry <strereotype441@gmail.com>
15 files changed:
src/glsl/ir_print_visitor.cpp
src/glsl/tests/lower_jumps/lower_breaks_2.opt_test.expected
src/glsl/tests/lower_jumps/lower_breaks_3.opt_test.expected
src/glsl/tests/lower_jumps/lower_breaks_4.opt_test.expected
src/glsl/tests/lower_jumps/lower_breaks_5.opt_test.expected
src/glsl/tests/lower_jumps/lower_breaks_6.opt_test.expected
src/glsl/tests/lower_jumps/lower_guarded_conditional_break.opt_test.expected
src/glsl/tests/lower_jumps/lower_pulled_out_jump.opt_test.expected
src/glsl/tests/lower_jumps/lower_returns_3.opt_test.expected
src/glsl/tests/lower_jumps/lower_returns_4.opt_test.expected
src/glsl/tests/lower_jumps/lower_returns_main_false.opt_test.expected
src/glsl/tests/lower_jumps/lower_returns_main_true.opt_test.expected
src/glsl/tests/lower_jumps/lower_returns_sub_false.opt_test.expected
src/glsl/tests/lower_jumps/lower_returns_sub_true.opt_test.expected
src/glsl/tests/lower_jumps/lower_unified_returns.opt_test.expected