diff options
author | Eric Anholt <eric@anholt.net> | 2012-05-04 13:37:08 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2012-05-14 17:03:44 -0700 |
commit | e21b9f1f19d2345026a7fbe095a776d0b64557ec (patch) | |
tree | 02b9a591bde0a274fa1f78f90336b671253b89ba /src/glsl/glsl_parser_extras.cpp | |
parent | f42cdc7984cb1db4a13f87daf60d374d19eb9b0a (diff) |
glsl: Remove the opt_discard_simplification pass.
This conflicts with the GLSL 1.30+ rules for derivatives after a
discard has occurred.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl/glsl_parser_extras.cpp')
-rw-r--r-- | src/glsl/glsl_parser_extras.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp index 6f1c86b43f..46f21dd076 100644 --- a/src/glsl/glsl_parser_extras.cpp +++ b/src/glsl/glsl_parser_extras.cpp @@ -1044,7 +1044,6 @@ do_common_optimization(exec_list *ir, bool linked, progress = do_structure_splitting(ir) || progress; } progress = do_if_simplification(ir) || progress; - progress = do_discard_simplification(ir) || progress; progress = do_copy_propagation(ir) || progress; progress = do_copy_propagation_elements(ir) || progress; if (linked) |